#halt, #run
37 38 39 40 41 42 43 44 45 46 47 48 49 50
# File 'lib/avo_linter/cli.rb', line 37 def call(**) scan = ::AvoLinter::Scanner.scan # ap scan say "Scan finished!\n" if scan.errors? yell "We found a couple of errors." ap scan.error_messages else say "Nothing bad found. Good job!" end end