diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 093af4b..a101602 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ stages: - build - test -- quality # ######## # Build diff --git a/scripts/check.sh b/scripts/check.sh index 2f5dc1d..646d1e1 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -10,7 +10,7 @@ cd $SOURCE_DIR info "Checking line ending" -RESULT=$( find . -not -type d -exec file "{}" ";" | grep "ASCII text, with CRLF" | cat) +RESULT=$( find . -not -type d ! -path '.git' -exec file "{}" ";" | grep "ASCII text, with CRLF" | cat ) if [ ! -z "$RESULT" ]; then echo "----------------------------------"