From a8a3d4959b0f91379d4fb1b1c2ac964d67563f17 Mon Sep 17 00:00:00 2001 From: Jeff Lu Date: Wed, 22 Mar 2023 13:49:56 -0400 Subject: [PATCH] check if agent started successfully --- package.json | 2 +- src/common/src/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a1d27ef..43924c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hzn-cli", - "version": "0.4.27", + "version": "0.4.28", "description": "Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments", "main": "./build/index.js", "bin": { diff --git a/src/common/src/utils.ts b/src/common/src/utils.ts index 31657f5..5ccb660 100644 --- a/src/common/src/utils.ts +++ b/src/common/src/utils.ts @@ -2248,7 +2248,7 @@ export class Utils { observer.error(err); } }); - child.stdout.pipe(process.stdout); + //child.stdout.pipe(process.stdout); child.stdout.on('data', (data) => { console.log(`-> ${data}`) if(data.indexOf(`Run 'hzn agreement list' to view`) > 0 || data.indexOf(`agent started successfully`) > 0) {