From b21d9b157680e06cd43c1849231b095b65baeaba Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Fri, 24 Jul 2020 17:19:33 -0400 Subject: [PATCH] Don't check the .git directory --- synapse/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/pipeline.yml b/synapse/pipeline.yml index d3af81a..a5a1aed 100644 --- a/synapse/pipeline.yml +++ b/synapse/pipeline.yml @@ -55,7 +55,7 @@ steps: # Run 'file' command on each file, checking for Windows-style line terminators. # grep returns exit code 1 when it doesn't find anything. We invert this as # finding entries are a bad thing - - "find . -type f -exec file '{}' ';' | (! grep 'CRLF line terminators')" + - "find . -type f -path ./.git -prune -o -exec file '{}' ';' | (! grep 'CRLF line terminators')" plugins: - docker#v3.0.1: image: "python:3.6"