We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 218235d commit d544623Copy full SHA for d544623
src/Transpiler.ts
@@ -364,7 +364,7 @@ export class LuaTranspiler {
364
// Add header
365
let result = "";
366
for (const variableDeclaration of (node.initializer as ts.VariableDeclarationList).declarations) {
367
- result += this.transpileVariableDeclaration(variableDeclaration);
+ result += this.indent + this.transpileVariableDeclaration(variableDeclaration);
368
}
369
result += this.indent + `while(${this.transpileExpression(node.condition)}) do\n`;
370
0 commit comments