🐛 fix quoting in check task
This commit is contained in:
parent
71a9698fad
commit
48e24b004d
|
@ -86,6 +86,6 @@ tasks:
|
|||
dir: ./{{.DIR}}
|
||||
cmds:
|
||||
- | # 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
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue