Skip to content

Commit 7fbb57c

Browse files
committed
apply shellcheck review
1 parent e3e0a46 commit 7fbb57c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ else
88
fi
99

1010
if which fourmolu > /dev/null ; then
11-
find Cabal Cabal-syntax cabal-install -name '*.hs' \
11+
find Cabal Cabal-syntax cabal-install -name '*.hs' -print0 \
1212
! -path Cabal-syntax/src/Distribution/Fields/Lexer.hs \
1313
! -path Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs \
1414
! -path Cabal-syntax/src/Distribution/SPDX/LicenseId.hs \
1515
! -path Cabal/src/Distribution/Simple/Build/Macros/Z.hs \
1616
! -path Cabal/src/Distribution/Simple/Build/PathsModule/Z.hs \
17-
| xargs -P ${PROCS} -I {} fourmolu -q --mode check {}
17+
| xargs -P "${PROCS}" -I {} fourmolu -q --mode check {}
1818
else
1919
echo "Fourmolu not found, aborting."
2020
exit 1

0 commit comments

Comments
 (0)