summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/windows.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/windows.rb')
-rw-r--r--lib/chef/provider/group/windows.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group/windows.rb b/lib/chef/provider/group/windows.rb
index c0026bf368..6cc000ade7 100644
--- a/lib/chef/provider/group/windows.rb
+++ b/lib/chef/provider/group/windows.rb
@@ -17,7 +17,7 @@
#
require "chef/provider/user"
-if RUBY_PLATFORM =~ /mswin|mingw32|windows/
+if RUBY_PLATFORM.match?(/mswin|mingw32|windows/)
require "chef/util/windows/net_group"
end