summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrajaktaPurohit <PrajaktaPurohit@users.noreply.github.com>2022-03-29 11:12:29 -0700
committerGitHub <noreply@github.com>2022-03-29 11:12:29 -0700
commite6ba6213333e128a84b337d05500789580277326 (patch)
tree6684aec4e83ccc0cda1619edb1e8fa507b074747
parent2073582a4216cbaead0e2fa19ae46a94ee167610 (diff)
parent91da93e6e6bdfc5ac5e0506cbbce1b88430c9c76 (diff)
downloadmixlib-shellout-e6ba6213333e128a84b337d05500789580277326.tar.gz
Merge pull request #234 from clintoncwolfe/cw/fix-windows-match
Loosen platform regex to allow 64 or 32 bit mingw
-rw-r--r--lib/mixlib/shellout.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb
index 9ee5376..0f4f6a8 100644
--- a/lib/mixlib/shellout.rb
+++ b/lib/mixlib/shellout.rb
@@ -28,7 +28,7 @@ module Mixlib
READ_SIZE = 4096
DEFAULT_READ_TIMEOUT = 600
- if RUBY_PLATFORM =~ /mswin|mingw32|windows/
+ if RUBY_PLATFORM =~ /mswin|mingw|windows/
require_relative "shellout/windows"
include ShellOut::Windows
else