From 9ad51fd376bd2375d338d289a6be992b22ed4fb7 Mon Sep 17 00:00:00 2001 From: McGroarty Date: Wed, 3 Jun 2026 18:43:47 -0700 Subject: [PATCH] chore: remove stale LGTM suppression pragma The // lgtm[js/http-to-file-access] pragma was a no-op: LGTM.com was retired in 2022 and modern CodeQL does not read those comments. The explanatory comment above it documents the same reasoning, so the pragma is removed without behavior change. The CodeQL alert itself will be dismissed as a false positive (OUTPUT_PATH is derived from import.meta.url and cannot be influenced by the network response). --- scripts/fetch-definitions.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/fetch-definitions.js b/scripts/fetch-definitions.js index 6d9f44d..3a51b95 100644 --- a/scripts/fetch-definitions.js +++ b/scripts/fetch-definitions.js @@ -25,7 +25,6 @@ export async function fetchDefinitions(url = DEFAULT_URL) { await mkdir(dirname(OUTPUT_PATH), { recursive: true }); // OUTPUT_PATH is hardcoded via import.meta.url; HTTP response cannot influence the write location. - // lgtm[js/http-to-file-access] await writeFile(OUTPUT_PATH, content, 'utf8'); console.log(`Successfully saved LSL definitions to: ${OUTPUT_PATH}`);