class GemHadar
def git_remotes
def git_remotes remotes = ENV['GIT_REMOTE']&.split(/\s+/) remotes or remotes = `git remote`.lines.map(&:chomp) remotes.empty? and fail 'git remotes are required' remotes end
def git_remotes remotes = ENV['GIT_REMOTE']&.split(/\s+/) remotes or remotes = `git remote`.lines.map(&:chomp) remotes.empty? and fail 'git remotes are required' remotes end