Force lint failures on any warning, and display affected filename
This commit is contained in:
@@ -68,7 +68,7 @@ while read oldrev newrev refname; do
|
||||
echo -e "\e[0;31m'puppet parser validate' failed on $puppetmodule - push denied. Run tests locally and confirm they pass before pushing. \e[0m"
|
||||
final_ret=1
|
||||
fi
|
||||
puppet-lint $tmpfile
|
||||
puppet-lint --fail-on-warnings --with-filename $tmpfile
|
||||
rc=$?
|
||||
if [[ $rc != 0 ]]; then
|
||||
if [[ $warned = 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user