diff --git a/package.json b/package.json index 58d69f6..1e62517 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hzn-cli", - "version": "0.6.4", + "version": "0.6.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 f651eb1..7816444 100644 --- a/src/common/src/utils.ts +++ b/src/common/src/utils.ts @@ -146,7 +146,7 @@ export class Utils { if(key == 'HZN_MGMT_HUB_CERT_PATH') { const cert = /[^\/]+$/.exec(pEnv.CONFIG_CERT_PATH) if(cert) { - content += `/var/${key}=${cert[0]}` + content += `${key}=/var/${cert[0]}` } } else { content += `${key}=${pEnv[key]}` @@ -160,7 +160,7 @@ export class Utils { } else if(key == 'HZN_MGMT_HUB_CERT_PATH') { const cert = /[^\/]+$/.exec(pEnv.CONFIG_CERT_PATH) if(cert) { - content += `/var/${key}=${cert[0]}` + content += `${key}=/var/${cert[0]}` } } }