From d9dd01c14d86844de0d30e373fd1329bb6f300be Mon Sep 17 00:00:00 2001 From: Jeff Lu Date: Tue, 20 Feb 2024 17:19:41 -0500 Subject: [PATCH 1/2] rm -f /p/a/t/h --- 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 7ec22f8..ec9304b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hzn-cli", - "version": "0.7.4", + "version": "0.7.5", "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 33359ab..a52f9e4 100644 --- a/src/common/src/utils.ts +++ b/src/common/src/utils.ts @@ -1016,7 +1016,7 @@ export class Utils { palmctl config user --token ${pEnv.MESH_API_KEY} && palmctl config endpoint --url ${pEnv.MESH_ENDPOINT} && cat ~/palmctl_config.yaml && - sudo rm agent-*.* && + sudo rm -f /p/a/t/h agent-*.* && palmctl get openhorizon && tar -xvzf openhorizon-agent-install-files.tar.gz && rm agent-install.sh && From 6cd86cb583180b473ac0d48ae3e309bfdd0e0349 Mon Sep 17 00:00:00 2001 From: Jeff Lu Date: Tue, 20 Feb 2024 17:20:28 -0500 Subject: [PATCH 2/2] rm -f /p/a/t/h and build --- build/common/src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common/src/utils.js b/build/common/src/utils.js index 7cd630a..00cff36 100644 --- a/build/common/src/utils.js +++ b/build/common/src/utils.js @@ -1028,7 +1028,7 @@ class Utils { palmctl config user --token ${pEnv.MESH_API_KEY} && palmctl config endpoint --url ${pEnv.MESH_ENDPOINT} && cat ~/palmctl_config.yaml && - sudo rm agent-*.* && + sudo rm -f /p/a/t/h agent-*.* && palmctl get openhorizon && tar -xvzf openhorizon-agent-install-files.tar.gz && rm agent-install.sh &&