Skip to content

Commit

Permalink
Should also report errors by default
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz authored Jan 15, 2024
1 parent af4f833 commit 77f96d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function (opts = {}) {
};
}

var messageFilter = opts.filter || ((message) => message.type === 'warning');
var messageFilter = opts.filter || ((message) => message.type === 'warning' || message.type === 'error');

return {
postcssPlugin: 'postcss-reporter',
Expand Down

0 comments on commit 77f96d3

Please sign in to comment.