Skip to content

Commit

Permalink
fixing the regex in the entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MSilva95 authored and Frenchris committed Apr 4, 2022
1 parent d53f02a commit c1eb35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if ! find . -type f -name '*.go' | grep -q .; then
exit 1
fi

if find . -type f -name '*.go' -exec grep -qE '\bprint(ln)?\(' {} +; then
if find . -type f -name '*.go' -exec grep -qE '\bprint(ln)?\s*\(' {} +; then
echo "Your Go files cannot use print & println builtins"
exit 1
fi
Expand Down

0 comments on commit c1eb35c

Please sign in to comment.