Formatting

This commit is contained in:
Maurício Szabo 2023-05-12 00:19:29 -03:00
parent 4ad1b7c563
commit f9697a8de0

View File

@ -68,7 +68,9 @@ module.exports = class NotificationIssue {
getIssueUrl() {
return this.getIssueBody().then(issueBody => {
let repoUrl = this.getRepoUrl();
if (repoUrl == null) { repoUrl = 'https://github.com/atom/atom'; }
if (repoUrl == null) {
repoUrl = 'https://github.com/pulsar-edit/pulsar';
}
return `${repoUrl}/issues/new?title=${this.encodeURI(this.getIssueTitle())}&body=${this.encodeURI(issueBody)}`;
});
}