lib/r2-oas/schema/v3/cleaner/base_cleaner.rb in r2-oas-0.1.2 vs lib/r2-oas/schema/v3/cleaner/base_cleaner.rb in r2-oas-0.1.3
- old
+ new
@@ -9,10 +9,10 @@
class BaseCleaner < Base
def clean_docs
clean_target_files.each do |file_path|
file_manager = FileManager.new(file_path, :full)
file_manager.delete
- yield file_manager.save_file_path if block_given?
+ yield file_manager.save_file_path(type: :relative) if block_given?
end
end
private