Skip to content

Commit

Permalink
Missing )
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Goldberg committed Sep 24, 2017
1 parent da785e7 commit 3f51882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linters/final_newline.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
message: 'Files should end with a newline.',

lint: function finalNewlineLinter (config, node) {
if (node.source.input.css.length && !/^(\r|\n)+$/.test(node.raws.after) {
if (node.source.input.css.length && !/^(\r|\n)+$/.test(node.raws.after)) {
const source = node.source.end ? node.source : node.last.source;

return [{
Expand Down

0 comments on commit 3f51882

Please sign in to comment.