Fix issue reporter URLs for extensions (#14077)

* Fix issue reporter URLs for extensions

* Also clean up reporter URL

* sql carbon edit
This commit is contained in:
Charles Gagnon
2021-01-27 14:31:31 -08:00
committed by GitHub
parent 45bdf2ed95
commit 79cb27898d
2 changed files with 3 additions and 3 deletions

View File

@@ -861,7 +861,7 @@ export class IssueReporter extends Disposable {
}
}
const queryStringPrefix = this.configuration.product.reportIssueUrl && this.configuration.product.reportIssueUrl.indexOf('?') === -1 ? '?' : '&';
const queryStringPrefix = repositoryUrl && repositoryUrl.indexOf('?') === -1 ? '?' : '&'; // {{ SQL CARBON EDIT }}
return `${repositoryUrl}${queryStringPrefix}title=${encodeURIComponent(issueTitle)}`;
}