lib/fulmar/domain/service/dependency_service.rb in fulmar-1.9.0 vs lib/fulmar/domain/service/dependency_service.rb in fulmar-1.9.1
- old
+ new
@@ -16,10 +16,10 @@
shell.quiet = true
if Dir.exist? "#{data[:path]}/.git"
shell.run 'git fetch -q', in: data[:path]
else
- shell.run "git clone #{data[:source]} #{data[:path]} -q"
+ 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