gate galio workaround (#4310)

This commit is contained in:
Alex Lam S.L
2020-11-20 19:37:33 +00:00
committed by GitHub
parent 1b579779be
commit 02459cddf9
4 changed files with 91 additions and 37 deletions

View File

@@ -63,7 +63,6 @@ function make_code(ast, options) {
function parse_test(file) {
var script = fs.readFileSync(file, "utf8");
// TODO try/catch can be removed after fixing https://github.com/mishoo/UglifyJS/issues/348
try {
var ast = U.parse(script, {
filename: file