lib/instapusher/git.rb in instapusher-0.1.6 vs lib/instapusher/git.rb in instapusher-0.1.7

- old
+ new

@@ -1,9 +1,9 @@ module Instapusher class RepoOwnerIdentifierService - + attr_reader :string def initialize string @string = string end @@ -30,10 +30,10 @@ class Git def current_branch result = %x{git branch}.split("\n") if result.empty? - raise "It seems your app is not a git repo" + raise "It seems your app is not a git repository. Please check." else result.select { |b| b =~ /^\*/ }.first.split(" ").last.strip end end