From 287530ac78e16533ce5601ac367c617b03dca1db Mon Sep 17 00:00:00 2001 From: Sysix Date: Mon, 11 Nov 2024 15:01:16 +0100 Subject: [PATCH] ci: check code generation --- .github/workflows/generate.yml | 2 +- scripts/config-generator.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index f84351b..1d930de 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -26,4 +26,4 @@ jobs: run: pnpm run format - name: Check for git diff - run: git diff --exit-code --quiet + run: git diff --exit-code diff --git a/scripts/config-generator.ts b/scripts/config-generator.ts index 9c0d584..ab6acff 100644 --- a/scripts/config-generator.ts +++ b/scripts/config-generator.ts @@ -48,7 +48,7 @@ export class ConfigGenerator { const exportGrouping: string[] = []; let code = - '// These rules are automatically generated2 by scripts/generate-rules.ts\n\n'; + '// These rules are automatically generated by scripts/generate-rules.ts\n\n'; code += `import * as rules from "./rules-by-${this.rulesGrouping}.js";\n\n`;