Skip to content

Commit

Permalink
testdata/vhostmd0 is more a text file than a binary
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Mohr <rmohr@redhat.com>
  • Loading branch information
rmohr committed Apr 22, 2021
1 parent be072d6 commit 48ba03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/check-for-binaries.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if diff <(git grep -c '') <(git grep -cI '') |
grep -E -v -e 'docs/.*\.png|swagger-ui' -e 'vendor/*' -e 'assets/*' |
grep -E -v -e 'docs/.*\.png|swagger-ui' -e 'vendor/*' -e 'assets/*' -e 'pkg/downwardmetrics/vhostmd/testdata/vhostmd0' |
grep '^<'; then
echo "Binary files are present in git repostory."
exit 1
Expand Down

0 comments on commit 48ba03d

Please sign in to comment.