From 6610ebd39d19c3b8776d69a56a39c3b496b8b29f Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 12 Jan 2016 09:56:40 -0800 Subject: really fix cops --- lib/chef/mixin/file_class.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'lib/chef/mixin') 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 # Author:: Seth Chisamore # Author:: Bryan McLellan -# 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 - - -- cgit v1.2.1