summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-05-19 16:54:22 -0700
committerdanielsdeleo <dan@getchef.com>2014-05-19 16:54:22 -0700
commit8a9b9bd5d186c300c4d1bd969b95b40a6f4d931c (patch)
tree43143904922c88049a862cc0db3b40c73b55ffee /lib/chef/cookbook
parent62103f41818f897330b1ed424334d1eb88bcef41 (diff)
downloadchef-8a9b9bd5d186c300c4d1bd969b95b40a6f4d931c.tar.gz
Remove unneeded requires when using CookbookVersionLoader
CookbookVersion and CookbookVersionLoader may interact with classes defined in these files, but never reference their constants directly, so they do not need to be loaded.
Diffstat (limited to 'lib/chef/cookbook')
-rw-r--r--lib/chef/cookbook/cookbook_version_loader.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/cookbook/cookbook_version_loader.rb b/lib/chef/cookbook/cookbook_version_loader.rb
index eb67f3d7c5..4e92b74ae9 100644
--- a/lib/chef/cookbook/cookbook_version_loader.rb
+++ b/lib/chef/cookbook/cookbook_version_loader.rb
@@ -1,5 +1,4 @@
-require 'chef/config'
require 'chef/cookbook_version'
require 'chef/cookbook/chefignore'
require 'chef/cookbook/metadata'