Skip to content

Commit 69dd0fb

Browse files
Stephen Cookstephencookdev
authored andcommitted
Improve the output readability
1 parent 710219d commit 69dd0fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

output.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const humanTime = (ms, options = {}) => {
2424

2525
let time = "";
2626

27-
if (minutes > 0) time += minutes + " mins, ";
27+
if (minutes > 0) time += minutes + " min" + (minutes > 1 ? "s" : "") + ", ";
2828
time += seconds + " secs";
2929

3030
return time;

utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports.getLoaderNames = loaders =>
5151
? loaders
5252
.map(l => l.loader)
5353
.map(l => l.replace(/^.*\/node_modules\/([^\/]+).*$/, (_, m) => m))
54-
: ["(none)"];
54+
: ["modules with no loaders"];
5555

5656
module.exports.groupBy = (key, arr) => {
5757
const groups = [];

0 commit comments

Comments
 (0)