fix: add husky label to deprecated warning (#1538)

This commit is contained in:
Scott McIntyre
2024-11-18 16:26:03 +01:00
committed by GitHub
parent 85ad6100d8
commit 2fdad004ec
+1 -1
View File
@@ -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)