diff options
| author | Dominyk Tiller | 2017-08-31 03:59:33 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2017-08-31 03:59:33 +0100 |
| commit | 0ea4da4ef6bca28e2225f79cd0c6c9210eee8f7f (patch) | |
| tree | c40c98acb21b6a3783d73201ff15b71a6440af39 /Library/Homebrew/utils | |
| parent | 156bca7dfb22e0fcbfd1c2a06d15330e8b9b454d (diff) | |
| download | brew-0ea4da4ef6bca28e2225f79cd0c6c9210eee8f7f.tar.bz2 | |
github: limit PR search to Homebrew
Not sure whether this is the way you want to handle this problem but
it's really darn irritating so here's a PR that handles it one way.
Fixes: https://github.com/Homebrew/brew/pull/3086#issuecomment-324519156
Diffstat (limited to 'Library/Homebrew/utils')
| -rw-r--r-- | Library/Homebrew/utils/github.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index a1cf5fbba..a50d6d8e5 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -245,7 +245,7 @@ module GitHub end def print_pull_requests_matching(query) - open_or_closed_prs = search_issues(query, type: "pr") + open_or_closed_prs = search_issues(query, type: "pr", user: "Homebrew") open_prs = open_or_closed_prs.select { |i| i["state"] == "open" } prs = if !open_prs.empty? |
