Skip to content

Commit

Permalink
refactor: string template
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus-Kuhn committed Dec 9, 2024
1 parent 45017fc commit 4b2e20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/scripts/buildSchemas.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const contentConfig = {
...runtimeConfig,
tsconfig: new URL("../../content/tsconfig.json", import.meta.url).pathname
};
const attributeValues = content.AttributeValues.TYPE_NAMES.map((x) => x + "JSON");
const attributeValues = content.AttributeValues.TYPE_NAMES.map((x) => `${x}JSON`);
const contentSchemaDeclarations = getSchemaDeclarations(contentConfig, (x) => attributeValues.includes(x));

const outputPath = new URL("../src/useCases/common/Schemas.ts", import.meta.url).pathname;
Expand Down

0 comments on commit 4b2e20e

Please sign in to comment.