Multi Period fully tested

This commit is contained in:
Luis Fernando Molina committed 2019-08-26 17:18:12 +02:00
1 parent 18d4a05b97
commit 1f84be75f3
2 files changed
+332 -94

No files matched your search

+2 -2
View File
@@ -64,7 +64,7 @@ exports.newFileStorage = function newFileStorage(logger) {
}
logInfo('getTextFile: ' + fileLocation)
console.log('getTextFile: ' + fileLocation)
//console.log('getTextFile: ' + fileLocation)
let fileContent = await readFileAsync(fileLocation)
callBackFunction(global.DEFAULT_OK_RESPONSE, fileContent.toString())
@@ -130,7 +130,7 @@ exports.newFileStorage = function newFileStorage(logger) {
}
logInfo('createTextFile: ' + fileLocation)
console.log('createTextFile: ' + fileLocation)
//console.log('createTextFile: ' + fileLocation)
let directoryPath = fileLocation.substring(0, fileLocation.lastIndexOf('/') + 1);
mkDirByPathSync(directoryPath)