Write errors to the stout as well.
svn path=/plone.app.discussion/trunk/; revision=39313
This commit is contained in:
parent
a1e81d4eaf
commit
e37e48498b
@ -118,8 +118,10 @@ input = inline:
|
||||
echo "Checking"
|
||||
echo $TMPL
|
||||
find plone/app/discussion -regex ".*\.[c|z]?pt" | xargs bin/zptlint > zptlint.log
|
||||
if [ -s zptlint.log ]; then
|
||||
echo "Errors were found, see zptlint.log for details"
|
||||
if [ -s zptlint.log ]; then
|
||||
echo "Errors were found:"
|
||||
cat zptlint.log
|
||||
echo "Errors were written to zptlint.log"
|
||||
exit 1;
|
||||
else
|
||||
echo "No errors found"
|
||||
|
Loading…
Reference in New Issue
Block a user