mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 19:00:44 +02:00
fixing check script for lineendings
This commit is contained in:
parent
c24bfa5296
commit
27a533d52b
@ -2,7 +2,6 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- quality
|
|
||||||
|
|
||||||
# ########
|
# ########
|
||||||
# Build
|
# Build
|
||||||
|
|||||||
@ -10,7 +10,7 @@ cd $SOURCE_DIR
|
|||||||
|
|
||||||
info "Checking line ending"
|
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
|
if [ ! -z "$RESULT" ]; then
|
||||||
echo "----------------------------------"
|
echo "----------------------------------"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user