Define nightly by whether the value matches the default

This commit is contained in:
Robert
2023-12-20 11:38:58 +00:00
parent ba2f44b8ae
commit c7e2d69daa

View File

@@ -523,9 +523,8 @@ class ExtensionSpecificDistributionManager {
private get usingNightlyReleases(): boolean {
return (
!this.config.ownerName &&
!this.config.repositoryName &&
this.config.channel === "nightly"
this.distributionOwnerName === NIGHTLY_DISTRIBUTION_OWNER_NAME &&
this.distributionRepositoryName === NIGHTLY_DISTRIBUTION_REPOSITORY_NAME
);
}