# frozen_string_literal: true module Quality module Tools # Adds 'bigfiles' tool support to quality gem module Mdl private def mdl_args markdown_files.join(' ') end def quality_mdl if mdl_args.empty? puts 'No markdown files found--skipping mdl' return end ratchet_quality_cmd('mdl', args: mdl_args, gives_error_code_on_violations: true) do |_line| 1 end end end end end