mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-11-15 05:02:11 +01:00
Fix error in url by replacing : with /
This commit is contained in:
1 parent
10bbf2bd02
commit
962c47fba2
3 files changed
+3
-3
No files matched your search
@@ -22,7 +22,7 @@ def construct_PR_URL
|
||||
puts "only works for repositories with their origin remote on bitbucket.org"
|
||||
exit 1
|
||||
end
|
||||
return "https://#{remote[bbloc..-5]}/pull-requests/new?source=#{git_branch()}&t=1"
|
||||
return "https://#{remote[bbloc..-5].sub(':','/')}/pull-requests/new?source=#{git_branch()}&t=1"
|
||||
end
|
||||
|
||||
if ARGV.length > 0
|
||||
|
||||
Reference in new issue
Block a user