lib/r10k/module/base.rb
def maybe_delete_spec_dir
    if @exclude_spec
      if @spec_deletable
        delete_spec_dir
      else
        logger.info _("Spec dir for #{@title} will not be deleted because it is not in the moduledir")
      end
    end
  end
# Delete the spec dir if @exclude_spec has been set to true and @spec_deletable is also true
Delete the spec dir if @exclude_spec has been set to true and @spec_deletable is also true
Delete the spec dir if @exclude_spec has been set to true and @spec_deletable is also true
def maybe_delete_spec_dir
    if @exclude_spec
      if @spec_deletable
        delete_spec_dir
      else
        logger.info _("Spec dir for #{@title} will not be deleted because it is not in the moduledir")
      end
    end
  end
def maybe_delete_spec_dir if @exclude_spec if @spec_deletable delete_spec_dir else logger . info _ ( "Spec dir for #{@title} will not be deleted because it is not in the moduledir" ) end end end
Delete the spec dir if @exclude_spec has been set to true and @spec_deletable is also true
Delete the spec dir if @exclude_spec has been set to true and @spec_deletable is also true