Skip to content

Commit

Permalink
Allow PEM cert file (openconfig#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore authored Sep 20, 2023
1 parent f4dabaf commit b9d8dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/allowed_file_types.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "Checking for allowed file types..." >&2
if
find . -name .git -prune -o -name openconfig_public -prune -o \
-type f -exec file \{} \+ |
egrep -vi '(ASCII|UTF-8|JSON|Perl|shell)'
egrep -vi '(ASCII|UTF-8|JSON|Perl|shell|PEM certificate)'
then
echo "Error: files should be in plain text or non-empty." >&2
exitcode=1
Expand Down

0 comments on commit b9d8dfa

Please sign in to comment.