Skip to content

Commit

Permalink
Refer to err by proper name
Browse files Browse the repository at this point in the history
  • Loading branch information
monokrome committed Jun 22, 2015
1 parent 1516e8b commit 44e3ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = function(opt) {
var self = this;

kss.parse(buffer, opt.kssOpts, function (err, styleguide) {
if (err) console.log('Error', error);
if (err) console.log('Error', err);

var sections = styleguide.section('*.'),
i, sectionCount = sections.length,
Expand Down Expand Up @@ -179,4 +179,4 @@ module.exports = function(opt) {
}

return through(bufferContents, endStream);
};
};

0 comments on commit 44e3ae3

Please sign in to comment.