Skip to content

Commit

Permalink
Show line numbers with lint issues
Browse files Browse the repository at this point in the history
Previously we were checking the wrong condition so line/column numbers
were never shown.
  • Loading branch information
danpoltawski committed May 16, 2016
1 parent 7a02ddf commit d220e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/csslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = function(grunt) {

result.messages.forEach(function(message) {
var offenderMessage;
if (_.isUndefined(message.line)) {
if (!_.isUndefined(message.line)) {
offenderMessage =
chalk.yellow('L' + message.line) +
chalk.red(':') +
Expand Down

0 comments on commit d220e09

Please sign in to comment.