Fixing braces issue

This commit is contained in:
Matias committed 2019-07-03 12:48:37 -03:00
1 parent ca9dbdeb75
commit 64397003fa
4 files changed
+9 -13

No files matched your search

+1 -6
View File
@@ -1,4 +1,4 @@
exports.newDebugLog = function newDebugLog() {
exports.newDebugLog = function newDebugLog() {
const ROOT_DIR = './';
const MODULE_NAME = "DebugLog";
@@ -142,10 +142,5 @@
return str.length < max ? pad("0" + str, max) : str;
}
function spacePad(str, max) {
str = str.toString();
return str.length < max ? spacePad(" " + str, max) : str;
}
};
+6 -5
View File
@@ -45,11 +45,12 @@ exports.newFileStorage = function newFileStorage() {
return
}
let response = res.data.data.web_FileContent
if (response)
if (response){
callBackFunction(global.DEFAULT_OK_RESPONSE, response)
else
callBackFunction(global.CUSTOM_FAIL_RESPONSE)
} else{
let error = { code: 'The specified key does not exist.' }
callBackFunction(error)
}
}).catch(error => {
if (ERROR_LOG === true) { console.log('newFileStorage: [ERROR] getTextFile -> Invalid JSON received. ') }
if (ERROR_LOG === true) { console.log('newFileStorage: [ERROR] getTextFile -> error = ', error) }
@@ -104,7 +105,7 @@ exports.newFileStorage = function newFileStorage() {
for (var i = 0; i < ecosystem.devTeams.length; i++) {
for (key in ecosystem.devTeams[i]) {
if (key ==='codeName' && ecosystem.devTeams[i][key].indexOf(devTeamName)!=-1) {
if (key ==='codeName' && ecosystem.devTeams[i][key].toLowerCase().indexOf(devTeamName.toLowerCase())!=-1) {
return ecosystem.devTeams[i].host
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
version: '3'
services:
node:
image: superalgos/clone-executor:1.0.30
image: superalgos/clone-executor:1.0.32
build:
context: .
dockerfile: ./Dockerfile
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@superalgos/clone-executor",
"version": "1.0.30",
"version": "1.0.32",
"description": "Module responsible for executing the bots on the cloud.",
"author": "Superalgos, ltd.",
"license": "Apache-2.0",