dont put jsonified AST in resulting file

This commit is contained in:
Jill 2021-11-03 09:42:23 +03:00
parent 35660be0d8
commit d95ec10f53
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ function parse(code) {
//console.log(inspect(parsed, false, 10));
const luaFilename = f.replace('.d.ts', '.lua');
await fs.writeFile(path.resolve(outPath, luaFilename), '--[[\n' + inspect(parsed, false, null) + '\n]]\n\n' + transpiled);
await fs.writeFile(path.resolve(outPath, luaFilename), transpiled);
console.log(` wrote ${chalk.cyanBright(luaFilename)}`);
}
}