ant-design/scripts/lesshint-report.js

13 lines
274 B
JavaScript
Raw Normal View History

2016-04-29 17:04:56 +08:00
/* eslint-disable */
2016-07-18 22:24:53 +08:00
var originReport = require('lesshint/lib/reporters/default').report;
2016-04-29 17:04:56 +08:00
module.exports = {
report: function (errors) {
// Use full path
errors.forEach(function(error) {
error.file = error.fullPath;
});
originReport(errors);
}
};