lib/ridley/chef/cookbook.rb in ridley-1.5.1 vs lib/ridley/chef/cookbook.rb in ridley-1.5.2
- old
+ new
@@ -258,10 +258,10 @@
end
end
end
def syntax_checker
- @syntax_checker ||= Cookbook::SyntaxCheck.new(path.to_s)
+ @syntax_checker ||= Cookbook::SyntaxCheck.new(path.to_s, chefignore)
end
# Determine if the given file should be ignored by the chefignore
#
# @return [Boolean]