Skip to content

Commit

Permalink
add replaceEnvTokens in installCliInContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
playground committed Apr 20, 2023
1 parent a8a3d49 commit 42c1f39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hzn-cli",
"version": "0.4.28",
"version": "0.4.29",
"description": "Open Horizon CLI toolkit helps streamline the process of preparing node agents and perform tasks between orgs environments",
"main": "./build/index.js",
"bin": {
Expand Down
3 changes: 2 additions & 1 deletion src/common/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ export class Utils {
installCliInContainer(configJson: any) {
return new Observable((observer) => {
if(configJson.cliInContainer) {
this.shell(configJson.cliInContainer)
let containerStr = this.replaceEnvTokens(configJson.cliInContainer, configJson.org)
this.shell(containerStr)
.subscribe({
complete: () => {
observer.next()
Expand Down

0 comments on commit 42c1f39

Please sign in to comment.