More spacing between the different blocks of results
This commit is contained in:
parent
86fa21cda5
commit
7f2b52b1d6
@ -197,21 +197,28 @@ async function main(argv) {
|
||||
}
|
||||
status_bar.finish();
|
||||
|
||||
if (debug === false) {
|
||||
if (debug) {
|
||||
results.successful.sort(by_filename);
|
||||
results.successful.forEach(r => {
|
||||
console.log(r.output);
|
||||
});
|
||||
}
|
||||
results.failed.sort(by_filename);
|
||||
results.failed.forEach(r => {
|
||||
console.log(r.output);
|
||||
});
|
||||
// print run errors on the bottom so developers see them better
|
||||
results.errored.sort(by_filename);
|
||||
results.errored.forEach(r => {
|
||||
console.error(r.output);
|
||||
});
|
||||
|
||||
if (results.failed.length > 0) {
|
||||
console.log("");
|
||||
results.failed.sort(by_filename);
|
||||
results.failed.forEach(r => {
|
||||
console.log(r.output);
|
||||
});
|
||||
}
|
||||
if (results.errored.length > 0) {
|
||||
console.log(os.EOL);
|
||||
// print run errors on the bottom so developers see them better
|
||||
results.errored.sort(by_filename);
|
||||
results.errored.forEach(r => {
|
||||
console.error(r.output);
|
||||
});
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
process.exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user