gist-logs: fix new-issue URL.

This commit is contained in:
Mike McQuaid 2016-06-05 12:40:18 +01:00
parent 25baaa61ac
commit 14657443ce

View File

@ -104,7 +104,7 @@ module Homebrew
def new_issue(repo, title, body) def new_issue(repo, title, body)
data = { "title" => title, "body" => 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 end
def gist_logs def gist_logs