diff options
Diffstat (limited to 'lib/chef/handler/json_file.rb')
-rw-r--r-- | lib/chef/handler/json_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/handler/json_file.rb b/lib/chef/handler/json_file.rb index 6318c30d74..998f2b0e0e 100644 --- a/lib/chef/handler/json_file.rb +++ b/lib/chef/handler/json_file.rb @@ -51,7 +51,7 @@ class Chef end def build_report_dir - unless File.exists?(config[:path]) + unless File.exist?(config[:path]) FileUtils.mkdir_p(config[:path]) File.chmod(00700, config[:path]) end |