Check if rejected entries are nil, not blank

This commit is contained in:
Brian Cain 2019-08-20 11:30:42 -07:00
parent d15bac7fb7
commit 6db03f2aed
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ module VagrantPlugins
next
end
provisioner_names = @provisioners.map { |i| i.name if i.name != vm_provisioner.name }.reject(&:blank?)
provisioner_names = @provisioners.map { |i| i.name if i.name != vm_provisioner.name }.reject(&:nil?)
provisioner_errors = vm_provisioner.validate(machine, provisioner_names)
if provisioner_errors
errors = Vagrant::Config::V2::Util.merge_errors(errors, provisioner_errors)