coveralls
Version:
takes json-cov output into stdin and POSTs to coveralls.io
23 lines (16 loc) • 322 B
JavaScript
const { handleInput } = require('..');
process.stdin.resume();
process.stdin.setEncoding('utf8');
let input = '';
process.stdin.on('data', chunk => {
input += chunk;
});
process.stdin.on('end', () => {
handleInput(input, err => {
if (err) {
throw err;
}
});
});
;