Removing Container Name from Paths

This commit is contained in:
Luis Fernando Molina committed 2020-01-28 13:28:30 +01:00
1 parent e88f3eba99
commit 566b0331c0
13 files changed
+44 -51

No files matched your search

+2 -2
View File
@@ -108,7 +108,7 @@ exports.newDataSet = function newDataSet(BOT, logger) {
let filePath = filePathRoot + "/Output/" + pFolderPath;
filePath += '/' + pFileName
fileStorage.getTextFile(dataDependencyNode.dataMine, filePath, onFileReceived);
fileStorage.getTextFile(filePath, onFileReceived);
function onFileReceived(err, text) {
@@ -149,7 +149,7 @@ exports.newDataSet = function newDataSet(BOT, logger) {
let filePathRoot = dataDependencyNode.dataMine + "/" + dataDependencyNode.bot + "/" + bot.exchange;
let filePath = filePathRoot + "/Output/" + pFolderPath + '/' + pFileName;
fileStorage.createTextFile(dataDependencyNode.dataMine, filePath, pFileContent, onFileCreated);
fileStorage.createTextFile(filePath, pFileContent, onFileCreated);
function onFileCreated(err) {