Skip to content

Commit

Permalink
fix: process.exit(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFay committed Mar 27, 2024
1 parent 3153474 commit 28fd78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webrcli",
"version": "0.0.3",
"version": "0.0.4",
"description": "cli tools for building node project with webr inside",
"main": "index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const installFromDesc = async function (
await webR.close()

if (with_exit) {
process.exit(1)
process.exit(0)
}

}
Expand All @@ -100,7 +100,7 @@ const install = async function (
)

if (with_exit) {
process.exit(1)
process.exit(0)
}
}

Expand Down

0 comments on commit 28fd78a

Please sign in to comment.