From 14657443ce4346254ede3df52670c5e641796cd4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 5 Jun 2016 12:40:18 +0100 Subject: [PATCH] gist-logs: fix new-issue URL. --- Library/Homebrew/cmd/gist-logs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index bdb0fa9b03..72616463d1 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