mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 15:40:36 +02:00
fixing check script for lineendings
This commit is contained in:
parent
c24bfa5296
commit
57e0245b1b
@ -2,7 +2,6 @@
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- quality
|
||||
|
||||
# ########
|
||||
# Build
|
||||
|
||||
@ -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 "----------------------------------"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user