def run_lint(cmd_args)
      cd "." do
        show_context = cmd_args.include?("-C")
        review, @status = FoodCritic::Linter.run(CommandLine.new(cmd_args))
        @review =
          if review.nil? || (review.respond_to?(:warnings) && review.warnings.empty?)
            ""
          elsif show_context
            ContextOutput.new.output(review)
          else
            "#{review}\n"
          end
      end
    end
def run_lint(cmd_args)
      cd "." do
        show_context = cmd_args.include?("-C")
        review, @status = FoodCritic::Linter.run(CommandLine.new(cmd_args))
        @review =
          if review.nil? || (review.respond_to?(:warnings) && review.warnings.empty?)
            ""
          elsif show_context
            ContextOutput.new.output(review)
          else
            "#{review}\n"
          end
      end
    end
Run a lint check with the provided command line arguments.

 @param [Array] cmd_args The command line arguments.