lib/match/git_helper.rb in match-0.2.5 vs lib/match/git_helper.rb in match-0.3.0

- old
+ new

@@ -10,10 +10,10 @@ UI.message "Cloning remote git repo..." FastlaneCore::CommandExecutor.execute(command: command, print_all: $verbose, print_command: $verbose) - raise "Error cloning repo, make sure you have access to it '#{git_url}'".red unless File.directory?(@dir) + UI.user_error!("Error cloning repo, make sure you have access to it '#{git_url}'") unless File.directory?(@dir) if !Helper.test? and GitHelper.match_version(@dir).nil? and manual_password.nil? and File.exist?(File.join(@dir, "README.md")) UI.important "Migrating to new match..." ChangePassword.update(params: { git_url: git_url, shallow_clone: shallow_clone },