This commit is contained in:
Luis Fernando Molina committed 2020-04-25 11:50:34 +02:00
1 parent 466abf5b49
commit 106256ca64
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -112,7 +112,6 @@
thisObject.dataSetsModulesArray = undefined
filter = undefined
bot = undefined
thisObject = undefined
}
function isItADepenency(timeFrame, product) {
+1 -1
View File
@@ -463,7 +463,7 @@ exports.newFileStorage = function newFileStorage(logger, host, port) {
function onEnd() {
let fileContent = Buffer.concat(chunks).toString('utf8')
let err = null
if (fileContent === 'The specified key does not exist.') {
if (fileContent.indexOf('does not exist') >= 0) {
err = {
code: "ENOENT" // This is how fs would have returned upon this situation.
}