mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
change the shell provision config to make all the args strings
specifically arrays could contain `Fixnum` args and those wouldn't get turned into strings.
This commit is contained in:
parent
7dc0e4340e
commit
dbb92ae412
1 changed files with 2 additions and 2 deletions
|
|
@ -30,8 +30,8 @@ module VagrantPlugins
|
|||
@binary = false if @binary == UNSET_VALUE
|
||||
@keep_color = false if @keep_color == UNSET_VALUE
|
||||
|
||||
if @args && !@args.is_a?(Array) && args_valid?
|
||||
@args = @args.to_s
|
||||
if @args && args_valid?
|
||||
@args = @args.is_a?(Array) ? @args.map { |a| a.to_s } : @args.to_s
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue