Skip to content

Commit

Permalink
revert: correct husky output
Browse files Browse the repository at this point in the history
This reverts commit 145923d. The workaround was taken from typicode/husky#968 (comment) which corrected the husky log output with lint-staged but lead to error "/dev/tty: No such device or address" while using semantic-release.
  • Loading branch information
riuandg5 committed Aug 11, 2023
1 parent cc8d8ab commit 55ad60b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .husky/post-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec >/dev/tty 2>&1

npm run release:check
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec >/dev/tty 2>&1

npx lint-staged

0 comments on commit 55ad60b

Please sign in to comment.