Skip to content

Commit

Permalink
🧪 chmod our cli
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed May 19, 2024
1 parent 023c4b4 commit 070a250
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export async function install({
await exec(
`sudo mv ${asset.name.replace('.tar.gz', '')}/bin/vci /usr/local/bin/vci`,
)
await exec(`sudo chmod 755 /usr/local/bin/vci`)
await exec(`rm -rf ${asset.name.replace('.tar.gz', '')}`)
await exec(`vci version`)
}

0 comments on commit 070a250

Please sign in to comment.