introduce --safari10 (#2530)

This commit is contained in:
Alex Lam S.L
2017-11-29 03:34:47 +08:00
committed by GitHub
parent 1646c5844f
commit 736c366d93
4 changed files with 10 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ describe("bin/uglifyjs", function () {
command += semver.satisfies(process.version, ">=4") ? "6" : "5";
command += ',passes=3,keep_fargs=false,unsafe --wrap WrappedUglifyJS';
exec(command, function (err, stdout) {
exec(command, { maxBuffer: 1048576 }, function (err, stdout) {
if (err) throw err;
eval(stdout);