Skip to content

Commit b3a7013

Browse files
committed
fixed [optional] output
1 parent 29c59ac commit b3a7013

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Stats.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ Stats.jsonToString = function jsonToString(obj, useColors) {
410410
if(!module.cacheable) {
411411
red(" [not cacheable]");
412412
}
413-
if(!module.optional) {
413+
if(module.optional) {
414414
yellow(" [optional]");
415415
}
416416
if(module.built) {

0 commit comments

Comments
 (0)