We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a062c0 + c8678aa commit 156df6cCopy full SHA for 156df6c
check_puppet_syntax/check_puppet_erb_helper.sh
@@ -6,7 +6,7 @@ if [ ! -f "$f" ]; then
6
exit 1;
7
fi
8
9
-$ERB_BIN -x -S 0 -T '-' $f | $RUBY_BIN -c 2>&1 | while read line; do
+$ERB_BIN -P -x -S 0 -T '-' $f | $RUBY_BIN -c 2>&1 | while read line; do
10
if echo "$line" | grep -q 'Syntax OK'; then
11
echo "$f: $(tput setaf 2; tput bold)$line$( tput sgr0)";
12
else
0 commit comments