Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 7853416

Browse files
authored
fix(generate): add missinig newlines between generated requireService calls (#14)
I forgot the newline after each generated `requireService` calls. Because of this if you selected multiple versions all the `requireService` calls would be in a single line, one after another. This PR fixes that by writing a newline after each call.
1 parent 4e9699d commit 7853416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function genRequireServiceCall(writer: CodeBlockWriter, svc: ServiceNames, lang:
9797
writer.write(`<${svc.clientName}>`);
9898
}
9999

100-
writer.write(`(nodecg, `).quote(svc.name).write(");");
100+
writer.write(`(nodecg, `).quote(svc.name).write(");\n");
101101
}
102102

103103
function genOnAvailableCall(writer: CodeBlockWriter, svc: ServiceNames) {

0 commit comments

Comments
 (0)