mirror of
https://gitlab.com/spaceti-app/integrations/common/server-sdk.git
synced 2026-07-12 14:20:50 +02:00
fix lineending checks for .git
This commit is contained in:
parent
57e0245b1b
commit
b6950b9bfe
@ -10,7 +10,7 @@ cd $SOURCE_DIR
|
|||||||
|
|
||||||
info "Checking line ending"
|
info "Checking line ending"
|
||||||
|
|
||||||
RESULT=$( find . -not -type d ! -path '.git' -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