From 1534eb4c40b0ca7e4569f41d68905ef9440d7a40 Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Fri, 12 Sep 2025 17:26:52 +0200 Subject: [PATCH] Lint --- scripts/generate-api-docs.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generate-api-docs.ts b/scripts/generate-api-docs.ts index 14ee916..47f776f 100644 --- a/scripts/generate-api-docs.ts +++ b/scripts/generate-api-docs.ts @@ -1622,16 +1622,16 @@ const generateDocs = (entryFiles: string[], apiConfigFile: string, dry = false) const main = () => { const args = process.argv.slice(2); - + // Check for --dry flag const dryIndex = args.indexOf('--dry'); const dry = dryIndex !== -1; - + // Remove --dry flag from args if (dry) { args.splice(dryIndex, 1); } - + if (args.length < 2) { console.error('Usage: npm run generate-docs [--dry] [entry-file2 ...] '); console.error(' --dry: Check if docs are generatable without writing files');