Pushes are strings

This commit is contained in:
Seth Vargo 2014-12-15 01:27:40 -05:00
parent 4efb401050
commit bce0d1acc9
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ module VagrantPlugins
if pushes.length == 1 if pushes.length == 1
return pushes.first.to_sym return pushes.first.to_sym
else else
raise Vagrant::Errors::PushStrategyNotProvided, pushes: pushes raise Vagrant::Errors::PushStrategyNotProvided,
pushes: pushes.map(&:to_s)
end end
end end