debt - 💄 product config

This commit is contained in:
Benjamin Pasero
2019-09-11 08:13:47 +02:00
parent 94ee7ce1d7
commit e75e71f419
18 changed files with 290 additions and 206 deletions

View File

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