[gnome-contacts] ci: Ignore binary files



commit 33481dcdf734f91f4b1907fd6dbda31b2e1bbac4
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sat Dec 5 13:56:08 2020 +0100

    ci: Ignore binary files

 .gitlab/ci/style-check.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab/ci/style-check.sh b/.gitlab/ci/style-check.sh
index 7c3d868b..23a572db 100755
--- a/.gitlab/ci/style-check.sh
+++ b/.gitlab/ci/style-check.sh
@@ -8,7 +8,7 @@ source "$scriptdir/junit-report.sh"
 
 
 TESTNAME="No tabs"
-tabs_occurrences="$(fgrep -nR $'\t' src data)"
+tabs_occurrences="$(fgrep -nRI $'\t' src data)"
 if [[ -z "$tabs_occurrences" ]]; then
   append_passed_test_case "$TESTNAME"
 else
@@ -18,7 +18,7 @@ fi
 
 
 TESTNAME="No trailing whitespace"
-trailing_ws_occurrences="$(grep -nri '[[:blank:]]$' src data)"
+trailing_ws_occurrences="$(grep -nRI '[[:blank:]]$' src data)"
 if [[ -z "$trailing_ws_occurrences" ]]; then
   append_passed_test_case "$TESTNAME"
 else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]