Skip to content

Commit

Permalink
feat: add husky - prefix to logged global error messages (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour committed Apr 28, 2022
1 parent ff246cf commit beaf645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.ts
Expand Up @@ -38,6 +38,6 @@ try {
cmds[cmd] ? cmds[cmd]() : help(0)
} catch (e) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
console.error(e.message)
console.error(`husky - ${e.message}`)
process.exit(1)
}

0 comments on commit beaf645

Please sign in to comment.