class Standard::Formatter
def fixable_error_message(command)
def fixable_error_message(command) sales_pitch = if !options[:autocorrect] if @total_correctable_count > 1 "fix up to #{@total_correctable_count} problems" else "potentially fix one problem" end elsif options[:autocorrect] && options[:safe_autocorrect] if @total_correctable_count > 1 "DANGEROUSLY fix #{@total_correctable_count} problems" else "DANGEROUSLY fix one problem" end end <<~MSG standard: Run `#{command}` to #{sales_pitch}. MSG end