Skip to content

Commit 3693265

Browse files
committed
Show plural if assets are more than one
1 parent 81235e1 commit 3693265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ class Stats {
874874
colors.green(" [built]");
875875
}
876876
if (module.assets && module.assets.length) {
877-
colors.magenta(` [${module.assets.length} asset]`);
877+
colors.magenta(` [${module.assets.length} asset${module.assets.length === 1 ? "" : "s"}]`);
878878
}
879879
if (module.prefetched) {
880880
colors.magenta(" [prefetched]");

0 commit comments

Comments
 (0)