summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-12-05 13:56:08 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2020-12-05 13:56:08 +0100
commit33481dcdf734f91f4b1907fd6dbda31b2e1bbac4 (patch)
tree3b2b7be5347fc20a967963db615fc71de3bf3418 /.gitlab
parent0d4dbca6e460037481eb180325416ed81d70f3f0 (diff)
downloadgnome-contacts-33481dcdf734f91f4b1907fd6dbda31b2e1bbac4.tar.gz
ci: Ignore binary files
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci/style-check.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab/ci/style-check.sh b/.gitlab/ci/style-check.sh
index 7c3d868..23a572d 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