From 08f609d971ac2c8af6ee77df815f159c2af63f15 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 23 Nov 2020 02:27:06 +0200 Subject: [PATCH] watcher --- swarmlab-app/src/run/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index c565c9c..854741d 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -209,7 +209,8 @@ global.pipelines=[]; //console.log('info-------->>>>>>>>>>>> ', JSON.stringify(resdata)); //console.log('info----------------------- ', JSON.stringify(resdata.data)); var resob = resdata.data - resob.pathlogfile = pathfileval + 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")