Skip to content

Commit

Permalink
chore: better talisman command
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Nov 7, 2023
1 parent 7ea91b5 commit b008296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty; yarn node-talisman --githook pre-commit -i
if sh -c ': >/dev/tty' >/dev/null 2>/dev/null; then exec </dev/tty; yarn node-talisman --githook pre-commit -i; else yarn node-talisman --githook pre-commit; fi

0 comments on commit b008296

Please sign in to comment.