Skip to content

Commit

Permalink
Merge pull request #89 from playground/auto-setup-4
Browse files Browse the repository at this point in the history
Auto setup 4
  • Loading branch information
playground authored Nov 19, 2023
2 parents be20c87 + 9d33206 commit f62a453
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/common/src/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/common/src/utils.js.map

Large diffs are not rendered by default.

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.6.9",
"version": "0.7.0",
"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
2 changes: 1 addition & 1 deletion src/common/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class Utils {
this.copyFile(`sudo mv ${process.cwd()}/horizon /var`).then(() => {
const folders = configJson.folders;
if(existsSync(pEnv.CONFIG_CERT_PATH) && folders) {
this.copyFile(`sudo cp ${pEnv.CONFIG_CERT_PATH} /var/agent-install.crt`).then(() => {
this.copyFile(`sudo cp -ut ${pEnv.CONFIG_CERT_PATH} /var/agent-install.crt`).then(() => {
let arg = ''
folders.forEach((folder) => {
if(arg.length > 0) {
Expand Down

0 comments on commit f62a453

Please sign in to comment.