From 55ad60bf139f0221e8713e06728641c2e2f2d40c Mon Sep 17 00:00:00 2001 From: Rishu Anand Date: Sat, 12 Aug 2023 00:38:49 +0530 Subject: [PATCH] revert: correct husky output This reverts commit 145923db193ec3ef80c5ef24397d5e2d297ea74d. The workaround was taken from https://github.com/typicode/husky/issues/968#issuecomment-1176848345 which corrected the husky log output with lint-staged but lead to error "/dev/tty: No such device or address" while using semantic-release. --- .husky/post-commit | 2 -- .husky/pre-commit | 2 -- 2 files changed, 4 deletions(-) diff --git a/.husky/post-commit b/.husky/post-commit index 3e27768..e8ad148 100644 --- a/.husky/post-commit +++ b/.husky/post-commit @@ -1,6 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -exec >/dev/tty 2>&1 - npm run release:check diff --git a/.husky/pre-commit b/.husky/pre-commit index 6e41430..d24fdfc 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -exec >/dev/tty 2>&1 - npx lint-staged