diff options
-rw-r--r-- | lib/chef_zero/cookbook_data.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/cookbook_data.rb b/lib/chef_zero/cookbook_data.rb index 5d99222..298a9a9 100644 --- a/lib/chef_zero/cookbook_data.rb +++ b/lib/chef_zero/cookbook_data.rb @@ -162,7 +162,7 @@ module ChefZero end end - def self.list_directory(directory) + def self.list(directory) if directory.is_a?(Hash) directory.keys else |