diff options
Diffstat (limited to 'lib/chef/cookbook/syntax_check.rb')
-rw-r--r-- | lib/chef/cookbook/syntax_check.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/cookbook/syntax_check.rb b/lib/chef/cookbook/syntax_check.rb index 8b593eea81..ea6e59b894 100644 --- a/lib/chef/cookbook/syntax_check.rb +++ b/lib/chef/cookbook/syntax_check.rb @@ -72,14 +72,12 @@ class Chef include Chef::Mixin::ShellOut include Chef::Mixin::Checksum - attr_reader :cookbook_path + attr_reader :cookbook_path, :chefignore # A PersistentSet object that tracks which files have already been # validated. attr_reader :validated_files - attr_reader :chefignore - # Creates a new SyntaxCheck given the +cookbook_name+ and a +cookbook_path+. # If no +cookbook_path+ is given, +Chef::Config.cookbook_path+ is used. def self.for_cookbook(cookbook_name, cookbook_path = nil) |