Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 642af0c

Browse files
committedDec 7, 2020
rollback do not exit with 1 if install fails
1 parent ccb71b2 commit 642af0c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎package-lock.json

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"devDependencies": {
6464
"@types/ci-info": "^2.0.0",
6565
"@types/cosmiconfig": "^6.0.0",
66+
"@types/is-ci": "^2.0.0",
6667
"@types/jest": "^25.2.1",
6768
"@types/mkdirp": "^1.0.0",
6869
"@types/node": "^13.11.1",

‎src/installer/bin.ts

-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ function run(): void {
113113
console.log(chalk.red(err.message.trim()))
114114
debug(err.stack)
115115
console.log(chalk.red(`husky > Failed to ${action}`))
116-
process.exit(1)
117116
}
118117
}
119118

0 commit comments

Comments
 (0)
Please sign in to comment.