lib/rubocop/cop/chef/style/comments_format.rb in cookstyle-6.11.4 vs lib/rubocop/cop/chef/style/comments_format.rb in cookstyle-6.12.6

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true # # Copyright:: 2016-2019, Chef Software, Inc. # Author:: Tim Smith (<tsmith@chef.io>) # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -38,10 +39,10 @@ # Attributes:: default.rb # License:: Apache License, Version 2.0 # Cookbook:: Tomcat # class CommentFormat < Cop - MSG = 'Properly format header comments'.freeze + MSG = 'Properly format header comments' def investigate(processed_source) return unless processed_source.ast processed_source.comments.each do |comment|