fix fromAst not passing ast to transform

This commit is contained in:
Sebastian McKenzie
2014-12-10 22:34:58 +11:00
parent 6d68b3da4d
commit 8ffd2e843f

View File

@@ -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();
};