Multi Period fully tested
This commit is contained in:
1 parent
18d4a05b97
commit
1f84be75f3
2 files changed
+332
-94
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user