lib/nilac/add_semicolons.rb in nilac-0.0.4.3.9.6 vs lib/nilac/add_semicolons.rb in nilac-0.0.4.3.9.7
- old
+ new
@@ -30,10 +30,10 @@
if !comment(line)
if !line.lstrip.eql?("")
- if !line.lstrip.eql?("}\n")
+ if !line.lstrip.eql?("}\n") and !line.strip.eql?("}#@$")
if !line.lstrip.eql?("}\n\n")
if line.rstrip[-1] != "[" and line.rstrip[-1] != "{" and line.rstrip[-1] != "," and line.rstrip[-1] != ";"
\ No newline at end of file