diff options
Diffstat (limited to 'lib/chef/file_cache.rb')
-rw-r--r-- | lib/chef/file_cache.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/file_cache.rb b/lib/chef/file_cache.rb index cb8bf9bd11..b4f3de236a 100644 --- a/lib/chef/file_cache.rb +++ b/lib/chef/file_cache.rb @@ -105,10 +105,10 @@ class Chef def load(path, read = true) validate( { - :path => path + :path => path, }, { - :path => { :kind_of => String } + :path => { :kind_of => String }, }, ) cache_path = create_cache_path(path, false) @@ -131,10 +131,10 @@ class Chef def delete(path) validate( { - :path => path + :path => path, }, { - :path => { :kind_of => String } + :path => { :kind_of => String }, }, ) cache_path = create_cache_path(path, false) @@ -178,10 +178,10 @@ class Chef def has_key?(path) validate( { - :path => path + :path => path, }, { - :path => { :kind_of => String } + :path => { :kind_of => String }, }, ) full_path = create_cache_path(path, false) |