Skip to content

Commit

Permalink
}; の前の行の空行も対象にする
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Dec 26, 2018
1 parent c16eb52 commit 0948af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remove-redundant-blank-lines.py
Expand Up @@ -16,7 +16,7 @@ def parseLine(line):
if match:
return leftBracket

match = re.search('^\s*}\s*$', line)
match = re.search('^\s*}\s*(;\s*)?$', line)
if match:
return rightBracket

Expand Down

0 comments on commit 0948af1

Please sign in to comment.