summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/file_class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/file_class.rb')
-rw-r--r--lib/chef/mixin/file_class.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/chef/mixin/file_class.rb b/lib/chef/mixin/file_class.rb
index f6a663daed..347ef45ba9 100644
--- a/lib/chef/mixin/file_class.rb
+++ b/lib/chef/mixin/file_class.rb
@@ -2,7 +2,7 @@
# Author:: Mark Mzyk <mmzyk@opscode.com>
# Author:: Seth Chisamore <schisamo@opscode.com>
# Author:: Bryan McLellan <btm@opscode.com>
-# Copyright:: Copyright (c) 2011-2012 Opscode, Inc.
+# Copyright:: Copyright (c) 2011-2016 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,14 +24,12 @@ class Chef
def file_class
@host_os_file ||= if Chef::Platform.windows?
- require 'chef/win32/file'
- Chef::ReservedNames::Win32::File
- else
- ::File
- end
+ require 'chef/win32/file'
+ Chef::ReservedNames::Win32::File
+ else
+ ::File
+ end
end
end
end
end
-
-