Ensure allowed_synced_folder_types is a list of symbols

This commit is contained in:
Max Lincoln 2014-12-17 14:49:04 -05:00
parent 853042f2fa
commit a317a4d50d
1 changed files with 4 additions and 0 deletions

View File

@ -373,6 +373,10 @@ module VagrantPlugins
@usable_port_range = (2200..2250)
end
if @allowed_synced_folder_types
@allowed_synced_folder_types = Array(@allowed_synced_folder_types).map(&:to_sym)
end
# Make sure that the download checksum is a string and that
# the type is a symbol
@box_download_checksum = "" if !@box_download_checksum