Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 1e88ed0

Browse files
committed
style: update for linter changes
1 parent 5bcd457 commit 1e88ed0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/generator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export class Generator {
1010

1111
private indent(): void {
1212
let result = '';
13-
for (let i = 0, n = this.indentLevel; i < n; i++) {
13+
const n = this.indentLevel;
14+
for (let i = 0; i < n; i++) {
1415
result += '\t';
1516
}
1617
this.code += result;

0 commit comments

Comments
 (0)