parent
3d9b1cbab2
commit
673604b374
|
@ -34,7 +34,8 @@ function uniffe(contents) {
|
|||
|
||||
escodegen.attachComments(ast, comments, tokens);
|
||||
|
||||
if (ast.body[0].expression.callee === undefined) {
|
||||
if (ast.body[0].expression === undefined ||
|
||||
ast.body[0].expression.callee === undefined) {
|
||||
return contents;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue