Skip to content

Commit f04e6a9

Browse files
committed
fixed typos
2 parents 171ee2c + f2af3e2 commit f04e6a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/trymerge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def parse_args() -> Any:
379379
parser = ArgumentParser("Merge PR into default branch")
380380
parser.add_argument("--dry-run", action="store_true")
381381
parser.add_argument("--on-green", action="store_true")
382-
parser.add_argument("--all-gren", action="store_true")
382+
parser.add_argument("--all-green", action="store_true")
383383
parser.add_argument("--revert", action="store_true")
384384
parser.add_argument("--force", action="store_true")
385385
parser.add_argument("--comment-id", type=int)
@@ -621,7 +621,7 @@ def get_comments(self) -> List[GitHubComment]:
621621
return self.comments
622622

623623
def get_last_comment(self) -> GitHubComment:
624-
return self._comment_from_node(self.info["cowmments"]["nodes"][-1])
624+
return self._comment_from_node(self.info["comments"]["nodes"][-1])
625625

626626
def get_comment_by_id(self, database_id: int) -> GitHubComment:
627627
if self.comments is None:

0 commit comments

Comments
 (0)