Merge fefcd738e3 into b7adbcab1f
This commit is contained in:
commit
4448d67b58
16
bin/uglifyjs
16
bin/uglifyjs
|
|
@ -244,11 +244,17 @@ async.eachLimit(files, 1, function (file, cb) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
TOPLEVEL = UglifyJS.parse(code, {
|
try {
|
||||||
filename : file,
|
TOPLEVEL = UglifyJS.parse(code, {
|
||||||
toplevel : TOPLEVEL,
|
filename : file,
|
||||||
expression : ARGS.expr,
|
toplevel : TOPLEVEL,
|
||||||
});
|
expression : ARGS.expr,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
catch (ex) {
|
||||||
|
sys.error("ERROR: " + ex);
|
||||||
|
process.exit(1);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
cb();
|
cb();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user