🐛 fix quoting in check task

This commit is contained in:
Felix Lohmeier 2021-02-24 21:59:56 +01:00
parent 71a9698fad
commit 48e24b004d
1 changed files with 1 additions and 1 deletions

View File

@ -86,6 +86,6 @@ tasks:
dir: ./{{.DIR}} dir: ./{{.DIR}}
cmds: cmds:
- | # find log file(s) and check for "exception" or "error" - | # find log file(s) and check for "exception" or "error"
if grep -i 'exception\|error' $(find . -name *.log); then if grep -i 'exception\|error' $(find . -name '*.log'); then
echo 1>&2 "log contains warnings!"; exit 1 echo 1>&2 "log contains warnings!"; exit 1
fi fi