Page MenuHomePhorge

reporter.js
No OneTemporary

reporter.js

module.exports = {
reporter: function (results) {
var report = [];
results.forEach(function (result) {
var error = result.error;
report.push({
'file': result.file,
'line': error.line,
'col': error.character,
'reason': error.reason
});
});
process.stdout.write(JSON.stringify(report));
}
};

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 23, 21:11 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114330
Default Alt Text
reporter.js (433 B)

Event Timeline