Gracefully handle if the type of arg is not correct for bridged.
[GH-743]
This commit is contained in:
parent
163da82170
commit
d4a2e39c3e
|
@ -308,6 +308,7 @@ module Vagrant
|
|||
|
||||
def bridged_config(args)
|
||||
options = args[0] || {}
|
||||
options = {} if !options.is_a?(Hash)
|
||||
|
||||
return {
|
||||
:adapter => nil,
|
||||
|
|
Loading…
Reference in New Issue