lib/face_control/cli.rb in face_control-0.7.0 vs lib/face_control/cli.rb in face_control-0.8.0

- old
+ new

@@ -13,11 +13,11 @@ logger.info('Running checkers...') comments = check(pull_request, ignored_severities, logger) return if comments.empty? - logger.info("Posting #{comments.size} comments...") + logger.info("#{comments.size} comments have been created. Posting only those for added lines...") add_comments(pull_request, comments) end def check(pull_request, ignored_severities, logger) unless ignored_severities.empty? @@ -26,10 +26,11 @@ filenames = pull_request.filenames_with_added_lines checkers = [ FaceControl::CheckerRunner.new(FaceControl::Checkers::RuboCop, filenames, ignored_severities: ignored_severities), - FaceControl::CheckerRunner.new(FaceControl::Checkers::CoffeeLint, filenames) + FaceControl::CheckerRunner.new(FaceControl::Checkers::CoffeeLint, filenames), + FaceControl::CheckerRunner.new(FaceControl::Checkers::Comments, filenames) ] checkers.map(&:comments).flatten end