Skip to content

Commit

Permalink
rollback do not exit with 1 if install fails
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Dec 7, 2020
1 parent ccb71b2 commit 642af0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -63,6 +63,7 @@
"devDependencies": {
"@types/ci-info": "^2.0.0",
"@types/cosmiconfig": "^6.0.0",
"@types/is-ci": "^2.0.0",
"@types/jest": "^25.2.1",
"@types/mkdirp": "^1.0.0",
"@types/node": "^13.11.1",
Expand Down
1 change: 0 additions & 1 deletion src/installer/bin.ts
Expand Up @@ -113,7 +113,6 @@ function run(): void {
console.log(chalk.red(err.message.trim()))
debug(err.stack)
console.log(chalk.red(`husky > Failed to ${action}`))
process.exit(1)
}
}

Expand Down

0 comments on commit 642af0c

Please sign in to comment.