diff --git a/Library/Homebrew/extend/kernel.rb b/Library/Homebrew/extend/kernel.rb index 6058dbe5f1..98b4f9518e 100644 --- a/Library/Homebrew/extend/kernel.rb +++ b/Library/Homebrew/extend/kernel.rb @@ -264,7 +264,7 @@ module Kernel raise ErrorDuringExecution.new([cmd, *args], status: $CHILD_STATUS) end - # Run a system comand without any output. + # Run a system command without any output. # # @api internal def quiet_system(cmd, *args) diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index fadd3ccbab..4614b81822 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -544,7 +544,7 @@ module GitHub elsif state == "open" && ENV["GITHUB_REPOSITORY_OWNER"] == "Homebrew" # Try use PR API, which might be cheaper on rate limits in some cases. # The rate limit of the search API under GraphQL is unclear as it's - # costs the same as any other query accoding to /rate_limit. + # costs the same as any other query according to /rate_limit. # The PR API is also not very scalable so limit to Homebrew CI. return fetch_open_pull_requests(name, tap_remote_repo, version:) end