Skip to content

Commit eb9c158

Browse files
committed
make scripts work on node10
1 parent bb547e3 commit eb9c158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/buckle_lto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var regexp = RegExp(
2727
}
2828
return result;
2929
})
30-
.flat()
30+
.reduce((x,y)=>x.concat(y))
3131
.join("|")}`,
3232
"g"
3333
);

0 commit comments

Comments
 (0)