Skip to content

Commit

Permalink
fix: add husky label to deprecated warning (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
smackfu authored Nov 18, 2024
1 parent a2d942a commit 30f2049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (a == 'init') {
p.exit()
}

d = c => console.error(`${c} command is DEPRECATED`)
d = c => console.error(`husky - ${c} command is DEPRECATED`)
if (['add', 'set', 'uninstall'].includes(a)) { d(a); p.exit(1) }
if (a == 'install') d(a)

Expand Down

0 comments on commit 30f2049

Please sign in to comment.