update how value is checked for execute in hyper-v driver

This commit is contained in:
Brian Cain 2020-05-13 14:52:50 -07:00
parent 71f6b97153
commit a279f89d29
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0

View File

@ -283,7 +283,7 @@ module VagrantPlugins
options = options || {}
ps_options = []
options.each do |key, value|
next if value == '' || value.nil?
next if !value || value.to_s.empty?
next if value == false
ps_options << "-#{key}"
# If the value is a TrueClass assume switch