Cloud refactored to Node

This commit is contained in:
Luis Fernando Molina committed 2019-03-25 12:31:13 +01:00
1 parent 66e4a286df
commit 50422852ae
7 files changed
+23 -23

No files matched your search

+4 -4
View File
@@ -51,7 +51,7 @@
let filePath;
switch (global.CURRENT_EXECUTION_AT) { // This is what determines if the bot is loaded from the devTeam or an endUser copy.
case "Cloud": {
case "Node": {
if (global.RUN_AS_TEAM) {
filePath = global.DEV_TEAM + "/" + "bots" + "/" + bot.repo + "/" + pProcessConfig.name; // DevTeams bots only are run at the cloud.
} else {
@@ -88,7 +88,7 @@
USER_BOT_MODULE = pMODULE;
switch (global.CURRENT_EXECUTION_AT) {
case "Cloud": {
case "Node": {
filePath = global.DEV_TEAM + "/" + "bots" + "/" + bot.repo;
break;
}
@@ -898,7 +898,7 @@
function checkLoopHealth(pLastLoop) {
if (global.CURRENT_EXECUTION_AT !== "Cloud") {
if (global.CURRENT_EXECUTION_AT !== "Node") {
return;
}
@@ -951,7 +951,7 @@
let filePath;
switch (global.CURRENT_EXECUTION_AT) { // This is what determines if the bot is loaded from the devTeam or an endUser copy.
case "Cloud": {
case "Node": {
filePath = global.DEV_TEAM + "/" + "AACloud"; // DevTeams bots only are run at the cloud.
break;
}