Define nightly by whether the value matches the default
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user