Add missing puts

This commit is contained in:
Joe Block
2016-04-09 12:36:45 -07:00
parent e75bb2ba6b
commit 1369560071
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -19,7 +19,7 @@ def constructURL
remote = git_remote()
bbloc = remote.index('bitbucket.org')
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
end
url_prefix="https://#{remote[bbloc..-5]}/src/#{git_commit}"