Skip to content

Commit

Permalink
fix double newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
philshafer committed Nov 4, 2019
1 parent 09b338e commit fdeaa8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xolint/xolint.pl
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ sub extract_docs {
$under = "+" x (length($_) + 2);

print "'$_'\n$under\n\n";
print "The message \"$_\" can be caused by code like:\n\n";
print "The message \"$_\" can be caused by code like:\n";
$new = 0;

} elsif (/xo_emit\s*\(/) {
s/^\s+//;
print "\n::\n $_\n\n";
print "\n::\n\n $_\n\n";

} elsif (/^Should be/i) {
print "This code should be replaced with code like:\n\n";
print "This code should be replaced with code like:\n";

} else {
print "$_\n";
Expand Down

0 comments on commit fdeaa8f

Please sign in to comment.