Skip to content

Commit 156df6c

Browse files
committed
Merge pull request #10 from tommodore/master
Allow lines in templates to begin with %
2 parents 3a062c0 + c8678aa commit 156df6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_puppet_syntax/check_puppet_erb_helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [ ! -f "$f" ]; then
66
exit 1;
77
fi
88

9-
$ERB_BIN -x -S 0 -T '-' $f | $RUBY_BIN -c 2>&1 | while read line; do
9+
$ERB_BIN -P -x -S 0 -T '-' $f | $RUBY_BIN -c 2>&1 | while read line; do
1010
if echo "$line" | grep -q 'Syntax OK'; then
1111
echo "$f: $(tput setaf 2; tput bold)$line$( tput sgr0)";
1212
else

0 commit comments

Comments
 (0)