Remove ownerName and repositoryName from DistributionConfig

This commit is contained in:
Robert
2024-01-02 16:56:20 +00:00
parent 870874d7f3
commit b082455604
2 changed files with 2 additions and 8 deletions

View File

@@ -512,9 +512,7 @@ class ExtensionSpecificDistributionManager {
}
private get distributionOwnerName(): string {
if (this.config.ownerName) {
return this.config.ownerName;
} else if (this.config.channel === "nightly") {
if (this.config.channel === "nightly") {
return NIGHTLY_DISTRIBUTION_OWNER_NAME;
} else {
return DEFAULT_DISTRIBUTION_OWNER_NAME;
@@ -522,9 +520,7 @@ class ExtensionSpecificDistributionManager {
}
private get distributionRepositoryName(): string {
if (this.config.repositoryName) {
return this.config.repositoryName;
} else if (this.config.channel === "nightly") {
if (this.config.channel === "nightly") {
return NIGHTLY_DISTRIBUTION_REPOSITORY_NAME;
} else {
return DEFAULT_DISTRIBUTION_REPOSITORY_NAME;

View File

@@ -119,8 +119,6 @@ export interface DistributionConfig {
updateCustomCodeQlPath: (newPath: string | undefined) => Promise<void>;
includePrerelease: boolean;
personalAccessToken?: string;
ownerName?: string;
repositoryName?: string;
channel: CLIChannel;
onDidChangeConfiguration?: Event<void>;
}