diff --git a/codegen/codegen_lab.ts b/codegen/codegen_lab.ts index 48b8c2f..57d6396 100644 --- a/codegen/codegen_lab.ts +++ b/codegen/codegen_lab.ts @@ -1,6 +1,6 @@ // Generated lab file. DO NOT MODIFY. import { Lab } from "labs/labs.ts"; -import { generateLab } from "labs/codegen/generate.ts" +import { generateLab } from "labs/codegen/generate.ts"; export const codegenLab = new Lab() .procedure("codegen.lab", generateLab); diff --git a/codegen/generate.ts b/codegen/generate.ts index b8728b5..449e7a7 100644 --- a/codegen/generate.ts +++ b/codegen/generate.ts @@ -37,7 +37,7 @@ export function generateImports( } export function generateImport(names: string[], importSource: string): string { - return `import { ${names.join(", ")} } from "${importSource}"`; + return `import { ${names.join(", ")} } from "${importSource}";`; } export function generateInstructions(descriptor: LabDescriptor): string[] { diff --git a/example/my_lab.ts b/example/my_lab.ts index 524549a..5f67475 100644 --- a/example/my_lab.ts +++ b/example/my_lab.ts @@ -1,7 +1,7 @@ // Generated lab file. DO NOT MODIFY. import { Lab } from "labs/labs.ts"; -import { linksLab } from "labs/links.ts" -import { notesLab } from "labs/notes.ts" +import { linksLab } from "labs/links.ts"; +import { notesLab } from "labs/notes.ts"; export const myLab = new Lab() .extend(notesLab)