mirror of
https://github.com/adusak/bitbucket-git-helpers.plugin.zsh.git
synced 2026-11-24 01:04:07 +01:00
Add missing puts
This commit is contained in:
1 parent
e75bb2ba6b
commit
1369560071
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@ def construct_PR_URL
|
|||||||
remote = git_remote()
|
remote = git_remote()
|
||||||
bbloc = remote.index('bitbucket.org')
|
bbloc = remote.index('bitbucket.org')
|
||||||
if not bbloc
|
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
|
exit 1
|
||||||
end
|
end
|
||||||
return "https://#{remote[bbloc..-5]}/pull-requests/new?source=#{git_branch()}&t=1"
|
return "https://#{remote[bbloc..-5]}/pull-requests/new?source=#{git_branch()}&t=1"
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ def constructURL
|
|||||||
remote = git_remote()
|
remote = git_remote()
|
||||||
bbloc = remote.index('bitbucket.org')
|
bbloc = remote.index('bitbucket.org')
|
||||||
if not bbloc
|
if not bbloc
|
||||||
"git-bb-open only works for repositories with their origin remote on bitbucket.org"
|
puts "git-bb-open only works for repositories with their origin remote on bitbucket.org"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
url_prefix="https://#{remote[bbloc..-5]}/src/#{git_commit}"
|
url_prefix="https://#{remote[bbloc..-5]}/src/#{git_commit}"
|
||||||
|
|||||||
Reference in new issue
Block a user