Fixing new simulator name

This commit is contained in:
Matias committed 2019-03-19 17:32:45 +01:00
1 parent ff60da9abb
commit 24325d3c48
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ exports.newCopySimulator = function newCopySimulator() {
parsedConfig.products[1].dataSets[1].dataRange.filePath = pTeamCodeName + "/" + parsedConfig.codeName + ".1.0/AACloud.1.1/@Exchange/dataSet.V1/Output/Simulation-Conditions/Multi-Period-Market"
// Write the new files
let newSimulatorName = pBotCodeName + "-Indicator-Bot"
let newSimulatorName = "simulator-"+ pBotCodeName + "-Indicator-Bot"
let newSimulatorPath = "aaplatform/"+ pTeamCodeName + "/bots/" + newSimulatorName
await writeFileContent(newSimulatorPath, "Commons.js", commons)
await writeFileContent(newSimulatorPath, "this.bot.config.json", beautify(parsedConfig, null, 2, 80))