lib/docman/deployers/deployer.rb in docman-0.0.10 vs lib/docman/deployers/deployer.rb in docman-0.0.11

- old
+ new

@@ -41,10 +41,10 @@ add_actions(info, info) end end path = @docroot_config.root['full_build_path'] - if File.directory? path + if File.directory?(path) and GitUtil.repo?(path) Dir.chdir path if GitUtil.repo_changed? path GitUtil.reset_repo path end end \ No newline at end of file