Skip to content

Commit c7e2d69

Browse files
Define nightly by whether the value matches the default
1 parent ba2f44b commit c7e2d69

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

extensions/ql-vscode/src/codeql-cli/distribution.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,8 @@ class ExtensionSpecificDistributionManager {
523523

524524
private get usingNightlyReleases(): boolean {
525525
return (
526-
!this.config.ownerName &&
527-
!this.config.repositoryName &&
528-
this.config.channel === "nightly"
526+
this.distributionOwnerName === NIGHTLY_DISTRIBUTION_OWNER_NAME &&
527+
this.distributionRepositoryName === NIGHTLY_DISTRIBUTION_REPOSITORY_NAME
529528
);
530529
}
531530

0 commit comments

Comments
 (0)