lib/docman/commands/clean_changed_cmd.rb in docman-0.0.81 vs lib/docman/commands/clean_changed_cmd.rb in docman-0.0.82

- old
+ new

@@ -11,9 +11,10 @@ #TODO: Keep files feature def execute if File.directory? @context['full_build_path'] if @context.need_rebuild? return false if @context['type'] == 'dir' + return false if @context['type'] == 'single' and @context['build_type'] == :copy_builder and not GitUtil.repo?(@context['full_build_path']) return false if @context['type'] == 'root' and @context['build_type'] == :dir_builder and not GitUtil.repo?(@context['full_build_path']) return false if @context['type'] == 'root' and @context['build_type'] == :direct_builder and GitUtil.repo?(@context['full_build_path']) return false if @context['type'] == 'root_chain' and @context['build_type'] == :direct_builder and GitUtil.repo?(@context['full_build_path']) return false if @context['type'] == 'root_chain' and @context['build_type'] == :git_root_chain_builder and GitUtil.repo?(@context['full_build_path']) if @context['type'] == 'repo' \ No newline at end of file