Skip to content
Browse files

Don't replace elsif with else

  • Loading branch information...
1 parent 610cf40 commit d77d84366fefac6858d8ab98fcaafe5cc4892ef3 @agaffney committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 puppetparser.pl
View
2 puppetparser.pl
@@ -585,7 +585,7 @@ sub output_children {
}
# Formatting fixups
$buf =~ s/\n{3,}/\n\n/gs;
- $buf =~ s/}\n\n\s*(else|elsif) /} else /gs;
+ $buf =~ s/}\n\n\s*(else|elsif) /} $1 /gs;
return $buf;
}

0 comments on commit d77d843

Please sign in to comment.
Something went wrong with that request. Please try again.