Skip to content

Commit 7aa63f1

Browse files
committed
fixed children stats
1 parent 8079331 commit 7aa63f1

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
@@ -166,7 +166,7 @@ Stats.prototype.toJson = function toJson(options, forToString) {
166166
}
167167
if(showChildren) {
168168
obj.children = compilation.children.map(function(child) {
169-
var obj = new Stats(child).toJson(options);
169+
var obj = new Stats(child).toJson(options, forToString);
170170
obj.name = child.name;
171171
return obj;
172172
});

0 commit comments

Comments
 (0)