From 13695600717e217afc39800d2a22a93fbe22c4ae Mon Sep 17 00:00:00 2001 From: Joe Block Date: Sat, 9 Apr 2016 12:36:45 -0700 Subject: [PATCH] Add missing puts --- bin/git-bb-create-pull-request | 2 +- bin/git-bb-open | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-bb-create-pull-request b/bin/git-bb-create-pull-request index 6a8641e..3e2eace 100755 --- a/bin/git-bb-create-pull-request +++ b/bin/git-bb-create-pull-request @@ -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" diff --git a/bin/git-bb-open b/bin/git-bb-open index 8d933e9..9e8dd1c 100755 --- a/bin/git-bb-open +++ b/bin/git-bb-open @@ -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}"