Skip to content

Commit

Permalink
revert file change
Browse files Browse the repository at this point in the history
  • Loading branch information
hashtagnulla authored Jun 5, 2024
1 parent d68b065 commit 578bdae
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
exec >/dev/tty 2>&1

# Check if running in a terminal
if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "darwin"* ]]; then
# Unix-like OS detected, proceed with redirection
exec >/dev/tty 2>&1
fi

# Continue with the rest of the script
yarn lint-staged

0 comments on commit 578bdae

Please sign in to comment.