diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-24 15:44:18 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-24 15:44:18 -0700 |
commit | a737b6b1974f053117c8409c5a36f546bc843e03 (patch) | |
tree | 621833b2d2cb3b42dddb8238e16d83e30c60da7c /spec/support | |
parent | 0632f9e682ac3123fa2502991647dfc3ba5255c8 (diff) | |
download | chef-a737b6b1974f053117c8409c5a36f546bc843e03.tar.gz |
Switch to RUBY_PLATFORM for the windows checkfix_windows_builds
Merging in this check broke the build tests on Windows hosts.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/platforms/win32/spec_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platforms/win32/spec_service.rb b/spec/support/platforms/win32/spec_service.rb index f43e4a15fb..a29a5c94a8 100644 --- a/spec/support/platforms/win32/spec_service.rb +++ b/spec/support/platforms/win32/spec_service.rb @@ -16,7 +16,7 @@ # limitations under the License. # -if ChefUtils.windows? +if RUBY_PLATFORM =~ /mswin|mingw|windows/ require "win32/daemon" class SpecService < ::Win32::Daemon |