58194e5375
The function isPreviousLineEmpty comment doesn't skip comments (on purpose, see comment above that method :P) so the detection is messed up. Turns out, it's easier to just use isNextLineEmpty like everywhere else. Fixes #1708 |
||
---|---|---|
.. | ||
__snapshots__ | ||
comments.js | ||
empty_lines.js | ||
empty_statement.js | ||
empty_switch.js | ||
jsfmt.spec.js |