Changes in code being stored at the Cloud in their own fork of the bot

This commit is contained in:
Luis Fernando Molina committed 2018-05-28 18:19:46 +02:00
1 parent 0dfe031551
commit 2bc5b2408c
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@
if (FULL_LOG === true) { logger.write("[INFO] downloadBot -> Entering function."); }
let filePath = bot.devTeam + "/" + bot.repo + "/" + pProcessConfig.name;
let filePath = global.USER_DEV_TEAM + "/" + "members" + "/" + global.USER_LOGGED_IN + "/" + bot.repo + "/" + pProcessConfig.name;
let fileName = "User.Bot.js";
pCloudStorage.getTextFile(filePath, fileName, onFileReceived);
+1 -1
View File
@@ -148,7 +148,7 @@ exports.newRoot = function newRoot() {
if (err.result === global.DEFAULT_OK_RESPONSE.result) {
let filePath = "AdvancedAlgos" + "/" + "AACloud";
let filePath = global.USER_DEV_TEAM + "/" + "members" + "/" + global.USER_LOGGED_IN + "/" + "AACloud";
let fileName = "this.config.json";
cloudStorage.getTextFile(filePath, fileName, onFileReceived);
+2
View File
@@ -2,6 +2,8 @@
global.CURRENT_ENVIRONMENT = "Develop";
global.CURRENT_LOCATION = "Cloud";
global.SHALL_BOT_STOP = false;
global.USER_LOGGED_IN = "ciencias";
global.USER_DEV_TEAM = "AAMasters";
process.on('uncaughtException', function (err) {
console.log('[INFO] Run -> uncaughtException -> err.message = ' + err.message);