Skip to content

Commit 32673c0

Browse files
committed
Fix pre-push Git hook to not chop off 'n'
1 parent 90e6236 commit 32673c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [[ -n "$raw_files_to_check" ]]; then
2121
echo "*** Checking for lint violations in changed files ***************"
2222
echo
2323

24-
echo "$raw_files_to_check" | while IFS='\n' read -r line; do
24+
echo "$raw_files_to_check" | while IFS=$'\n' read -r line; do
2525
printf '%s\0' "$line"
2626
done | xargs -0 yarn prettier --check --ignore-unknown || exit $?
2727
fi

0 commit comments

Comments
 (0)