From 98e6e5df959b419ff367b6c0f63e0648f644401d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 6 Jul 2018 09:24:39 +0200 Subject: [PATCH] New IDE execution AT --- TradingBotProcessMainLoop.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TradingBotProcessMainLoop.js b/TradingBotProcessMainLoop.js index 768e97a9a..15da596f4 100644 --- a/TradingBotProcessMainLoop.js +++ b/TradingBotProcessMainLoop.js @@ -58,6 +58,10 @@ filePath = global.DEV_TEAM + "/" + "members" + "/" + global.USER_LOGGED_IN + "/" + global.CURRENT_BOT_REPO + "/" + pProcessConfig.name; // DevTeam Members bots only are run at the browser. break; } + case "IDE": { + filePath = global.DEV_TEAM + "/" + "bots" + "/" + bot.repo + "/" + pProcessConfig.name; // This works like Cloud except of a few things. + break; + } default: { parentLogger.write(MODULE_NAME, "[ERROR] initialize -> onInizialized -> CURRENT_EXECUTION_AT must be either 'Cloud' or 'Browser'."); parentLogger.write(MODULE_NAME, "[ERROR] initialize -> onInizialized -> global.CURRENT_EXECUTION_AT = " + global.CURRENT_EXECUTION_AT);