on master help sign in
emit trailing spaces check message - circleci
defcce3Anurag Hooda
.circleci/config.yml+1
@@ -389,6 +389,7 @@ jobs:
389 HLINT_TARGETS: src test benchmark
389 HLINT_TARGETS: src test benchmark
390 command: |
390 command: |
391 bash -c "$PACKCHECK $BUILD" || exit 1
391 bash -c "$PACKCHECK $BUILD" || exit 1
392+ echo "Checking trailing spaces..."
392 count=$(find . -name "*.hs" -exec grep -H '\ $' {} \; | tee /dev/tty | wc -l)
393 count=$(find . -name "*.hs" -exec grep -H '\ $' {} \; | tee /dev/tty | wc -l)
393 exit $count
394 exit $count
394 - *save
395 - *save