lib/fulmar/domain/service/dependency_service.rb in fulmar-1.6.2 vs lib/fulmar/domain/service/dependency_service.rb in fulmar-1.6.3
- old
+ new
@@ -32,10 +32,10 @@
else
fail "Cannot find ref #{data[:ref]} in repo #{data[:path]}"
end
# Pull
- shell = Fulmar::Infrastructure::Service::ShellService.new "#{@config[:local_path]}/#{data[:path]}"
+ shell = Fulmar::Infrastructure::Service::ShellService.new data[:path]
unless shell.run 'git pull --rebase -q'
fail "Cannot update repository #{data[:path]}. Please update manually."
end
end
end