diff options
| author | Mike McQuaid | 2016-06-05 12:40:18 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-06-05 12:40:26 +0100 |
| commit | 14657443ce4346254ede3df52670c5e641796cd4 (patch) | |
| tree | 16189e7b9bd437f8aa089b193c6ce5288fb3212c /Library/Homebrew/cmd/gist-logs.rb | |
| parent | 25baaa61acc8743e69032233823a5ac33858d49e (diff) | |
| download | brew-14657443ce4346254ede3df52670c5e641796cd4.tar.bz2 | |
gist-logs: fix new-issue URL.
Diffstat (limited to 'Library/Homebrew/cmd/gist-logs.rb')
| -rw-r--r-- | Library/Homebrew/cmd/gist-logs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index bdb0fa9b0..72616463d 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -104,7 +104,7 @@ module Homebrew def new_issue(repo, title, body) data = { "title" => title, "body" => body } - GitHub.open("https://api.github.com/repos/MikeMcQuaid/test/issues", data)["html_url"] + GitHub.open("https://api.github.com/repos/#{repo}/issues", data)["html_url"] end def gist_logs |
