lowercase
This commit is contained in:
Родитель
663d0a77a0
Коммит
51c368b3bf
|
@ -37690,7 +37690,7 @@ class GitHubProvider {
|
|||
|
||||
// filter out all reviews that are not by the current authenticated user via login
|
||||
const approvedReviewsByUser = approvedReviews.filter(
|
||||
(review) => review.user.login === login,
|
||||
(review) => review.user.login.toLowerCase() === login.toLowerCase(),
|
||||
);
|
||||
|
||||
// if there are any reviews left, then login (this Action) has already approved the PR and we should not approve it again
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -36,7 +36,7 @@ class GitHubProvider {
|
|||
|
||||
// filter out all reviews that are not by the current authenticated user via login
|
||||
const approvedReviewsByUser = approvedReviews.filter(
|
||||
(review) => review.user.login === login,
|
||||
(review) => review.user.login.toLowerCase() === login.toLowerCase(),
|
||||
);
|
||||
|
||||
// if there are any reviews left, then login (this Action) has already approved the PR and we should not approve it again
|
||||
|
|
Загрузка…
Ссылка в новой задаче