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 2, 2022
1 parent 90a63c7 commit 37ae79f
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 37ae79f

Please sign in to comment.