lib/vendorificator/vendor/tool.rb in vendorificator-0.4.0 vs lib/vendorificator/vendor/tool.rb in vendorificator-0.5.git.v0.4.0.17.g26d50d8
- old
+ new
@@ -19,12 +19,12 @@
if File.exist?(src)
FileUtils.install File.join(environment.git.git_work_tree, spec),
File.join(git.git_work_tree, spec),
verbose: true
end
- Dir.chdir(git.git_work_tree) do
- system self.command or raise RuntimeError, "Command failed"
- end
+ end
+ Dir.chdir(git.git_work_tree) do
+ system self.command or raise RuntimeError, "Command failed"
end
end
def git_add_extra_paths
specs.inject(super) do |rv, path|