From 129e70446456938439bf6d133d08e39ec8b7ed6a Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 23 Nov 2020 02:33:06 +0200 Subject: [PATCH] watcher --- swarmlab-app/src/run/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 854741d..e287998 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -208,9 +208,8 @@ global.pipelines=[]; var resdata = await getpipelines(token,pathfile) //console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata)); //console.log('info----------------------- ', JSON.stringify(resdata.data)); + resdata.data.pathlogfile = pathfileval var resob = resdata.data - resob.pathlogfile = {} - resob.pathlogfile = path var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname); //indexfind === -1 ? global.pipelines.push({resob}) : console.log("object already exists")