Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion check_puppet_syntax/check_puppet_erb_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -f "$f" ]; then
exit 1;
fi

$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
if echo "$line" | grep -q 'Syntax OK'; then
echo "$f: $(tput setaf 2; tput bold)$line$( tput sgr0)";
else
Expand Down