Skip to content

Commit

Permalink
feat: add husky - prefix to logged global error messages (typicode#…
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbalfour authored and nikoladavitkovski committed Sep 5, 2022
1 parent 3d06050 commit ff1ec79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
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 ff1ec79

Please sign in to comment.