Tweak comment for latest nightly version check

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Henry Mercer
2026-09-22 16:23:55 +01:00
committed by GitHub
parent a9a8cd1aec
commit f2ec2f6267

View File

@@ -102,7 +102,7 @@ export async function getPerLanguageBundleLanguage(
return explain("the job is not running on a GitHub-hosted runner");
}
// If the user requested the latest nightly, skip the version check, as nightlies have shipped
// When selecting the latest nightly, skip the version check, as nightlies have shipped
// per-language bundles since https://github.com/dsp-testing/codeql-cli-nightlies/releases/tag/codeql-bundle-20260909.
// Otherwise, check the requested CLI version to determine whether per-language bundles are published.
if (!isLatestNightly) {