summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/chefignore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/cookbook/chefignore.rb')
-rw-r--r--lib/chef/cookbook/chefignore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/chefignore.rb b/lib/chef/cookbook/chefignore.rb
index 00dc7c0939..27f0bcaadb 100644
--- a/lib/chef/cookbook/chefignore.rb
+++ b/lib/chef/cookbook/chefignore.rb
@@ -20,7 +20,7 @@ class Chef
class Cookbook
class Chefignore
- COMMENTS_AND_WHITESPACE = /^\s*(?:#.*)?$/
+ COMMENTS_AND_WHITESPACE = /^\s*(?:#.*)?$/.freeze
attr_reader :ignores