diff --git a/src/installer/bin.ts b/src/installer/bin.ts index ce06c00c5..c76540c1b 100644 --- a/src/installer/bin.ts +++ b/src/installer/bin.ts @@ -103,6 +103,7 @@ function run(): void { console.log(chalk.red(err.message.trim())) debug(err.stack) console.log(chalk.red(`husky > Failed to ${action}`)) + process.exitCode = 1 } }