summaryrefslogtreecommitdiff
path: root/lib/chef/local_mode.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/local_mode.rb')
-rw-r--r--lib/chef/local_mode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/local_mode.rb b/lib/chef/local_mode.rb
index 5630a54335..72d40d8c81 100644
--- a/lib/chef/local_mode.rb
+++ b/lib/chef/local_mode.rb
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require "chef/config"
-if Chef::Platform.windows?
+if ChefHelpers.windows?
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.1")
require "chef/monkey_patches/webrick-utils"
end