lib/fulmar/domain/service/dependency_service.rb in fulmar-1.6.4 vs lib/fulmar/domain/service/dependency_service.rb in fulmar-1.7.0
- old
+ new
@@ -11,10 +11,14 @@
def setup(env = @config.environment)
shell = Fulmar::Infrastructure::Service::ShellService.new(@config[:local_path])
@config.dependencies(env).each_pair do |_key, data|
next unless data[:type].blank? || data[:type] == 'git'
+ shell.quiet = true
shell.run "git clone #{data[:source]} #{data[:path]} -q"
+ shell.last_error.each do |line|
+ puts line unless line.include? 'already exists and is not an empty directory'
+ end
end
end
def update(env = @config.environment)
@config.dependencies(env).each_pair do |_key, data|