Skip to content

Commit 68b503b

Browse files
committed
Revert "fix pre-commit"
This reverts commit 1997364.
1 parent 1997364 commit 68b503b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ -n "$STAGED_FILES" ]; then
55
echo "Running lint with fix on staged files..."
66
# Run lint on all files (modifies files in the working directory)
77
yarn lint --fix
8-
npx prettier --write $STAGED_FILES || true # skip files that don't have valid parsers
8+
yarn prettier:write
99

1010
echo "Re-adding originally staged files to the staging area..."
1111
# Re-add only the originally staged files

0 commit comments

Comments
 (0)