diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 8cb5a34..0c227ae 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -208,8 +208,10 @@ global.pipelines=[]; var arrfile = pathfileval.toString().split("-"); var pathfile = arrfile[0]; var indexfind1 = global.pipelines.findIndex(x => x.pathlogfile==pathfileval); + console.log('file11111111111111111111111111111111 ' + JSON.stringify(pathfileval) if (indexfind1 === -1 ){ (async() => { + console.log('file2222222222222222222222222222222222222 ' + JSON.stringify(pathfileval) var token = "d2539e5a7ae1f9f1b0eb2b8f22ca467a86d28407"; // desto var resdata = await getpipelines(token,pathfile) //resdata.data.pathlogfile = 'test' @@ -229,7 +231,7 @@ global.pipelines=[]; var indexfind = global.pipelines.findIndex(x => x.pathlogfile==pathfileval); //indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists") - indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists") + indexfind === -1 ? global.pipelines.push(resob) : console.log("object already exists "+pathfileval) //console.log('info', JSON.stringify(resdata)); //console.log('info------------- ', JSON.stringify(global.pipelines));