Skip to content

Commit 5b6cf78

Browse files
authored
Merge pull request #93 from Perryvw/lolleko-patch-1
Fix indention
2 parents 218235d + d544623 commit 5b6cf78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transpiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export class LuaTranspiler {
364364
// Add header
365365
let result = "";
366366
for (const variableDeclaration of (node.initializer as ts.VariableDeclarationList).declarations) {
367-
result += this.transpileVariableDeclaration(variableDeclaration);
367+
result += this.indent + this.transpileVariableDeclaration(variableDeclaration);
368368
}
369369
result += this.indent + `while(${this.transpileExpression(node.condition)}) do\n`;
370370

0 commit comments

Comments
 (0)