lib/fulmar/domain/service/helper/common_helper.rb in fulmar-1.7.2 vs lib/fulmar/domain/service/helper/common_helper.rb in fulmar-1.7.3
- old
+ new
@@ -20,10 +20,12 @@
def project
full_configuration[:project]
end
def composer(command, arguments = Fulmar::Infrastructure::Service::ComposerService::DEFAULT_PARAMS)
- (storage['composer'] ||= Fulmar::Infrastructure::Service::ComposerService.new(local_shell)).execute(command, arguments)
+ storage['composer'] ||= Fulmar::Infrastructure::Service::ComposerService.new(local_shell)
+ storage['composer'].shell.quiet = !configuration[:debug]
+ storage['composer'].execute(command, arguments)
end
def local_shell
storage['local_shell'] ||= new_shell(configuration[:local_path])
end