diff --git a/Integrations/FileStorage.js b/Integrations/FileStorage.js index 7e780bdf8..a2071deb7 100644 --- a/Integrations/FileStorage.js +++ b/Integrations/FileStorage.js @@ -64,6 +64,7 @@ exports.newFileStorage = function newFileStorage(logger) { } logInfo('getTextFile: ' + fileLocation) + console.log('getTextFile: ' + fileLocation) let fileContent = await readFileAsync(fileLocation) callBackFunction(global.DEFAULT_OK_RESPONSE, fileContent.toString()) @@ -129,6 +130,8 @@ exports.newFileStorage = function newFileStorage(logger) { } logInfo('createTextFile: ' + fileLocation) + console.log('createTextFile: ' + fileLocation) + let directoryPath = fileLocation.substring(0, fileLocation.lastIndexOf('/') + 1); mkDirByPathSync(directoryPath) await writeFileAsync(fileLocation, fileContent)