gist-logs: fix new-issue URL.
This commit is contained in:
parent
25baaa61ac
commit
14657443ce
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user