mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-03-11 21:11:38 +01:00
Add missing puts
This commit is contained in:
@@ -19,7 +19,7 @@ def construct_PR_URL
|
||||
remote = git_remote()
|
||||
bbloc = remote.index('bitbucket.org')
|
||||
if not bbloc
|
||||
"only works for repositories with their origin remote on bitbucket.org"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user