Fix error in url by replacing : with /

This commit is contained in:
Joe Block
2016-04-11 16:05:44 -07:00
parent 10bbf2bd02
commit 962c47fba2
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ def construct_PR_list_URL
puts "Only works for repositories with their origin remote on bitbucket.org"
exit 1
end
return "https://#{remote[bbloc..-5]}/pull-requests/"
return "https://#{remote[bbloc..-5].sub(':','/')}/pull-requests/"
end
if ARGV.length > 0