fix fromAst not passing ast to transform
This commit is contained in:
@@ -15,7 +15,7 @@ transform.fromAst = function (ast, code, opts) {
|
||||
|
||||
var file = new File(opts);
|
||||
file.addCode(code);
|
||||
file.transform();
|
||||
file.transform(ast);
|
||||
return file.generate();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user