We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3e0a46 commit 7fbb57cCopy full SHA for 7fbb57c
.githooks/pre-push
@@ -8,13 +8,13 @@ else
8
fi
9
10
if which fourmolu > /dev/null ; then
11
- find Cabal Cabal-syntax cabal-install -name '*.hs' \
+ find Cabal Cabal-syntax cabal-install -name '*.hs' -print0 \
12
! -path Cabal-syntax/src/Distribution/Fields/Lexer.hs \
13
! -path Cabal-syntax/src/Distribution/SPDX/LicenseExceptionId.hs \
14
! -path Cabal-syntax/src/Distribution/SPDX/LicenseId.hs \
15
! -path Cabal/src/Distribution/Simple/Build/Macros/Z.hs \
16
! -path Cabal/src/Distribution/Simple/Build/PathsModule/Z.hs \
17
- | xargs -P ${PROCS} -I {} fourmolu -q --mode check {}
+ | xargs -P "${PROCS}" -I {} fourmolu -q --mode check {}
18
else
19
echo "Fourmolu not found, aborting."
20
exit 1
0 commit comments