fix: removed github url

This commit is contained in:
Ankio
2023-11-01 08:11:04 +08:00
parent cf290252e4
commit 82350e1ed7
6 changed files with 47 additions and 18 deletions
+4 -1
View File
@@ -287,7 +287,7 @@ export class GithubRepository extends BaseRepository {
for (let i = 0; i < Math.min(pullRequests.length, 3); i++) {
const firstPR = pullRequests[i]
if (!firstPR.merged_at) {
continue // no merged_at timestamp -> look for the next
// no merged_at timestamp -> look for the next
} else if (fromDate.isAfter(moment(firstPR.merged_at))) {
return true
} else {
@@ -296,4 +296,7 @@ export class GithubRepository extends BaseRepository {
}
return false
}
get homeUrl(): string {
return "https://github.com";
}
}