ENV returns nil, not empty strings
This commit is contained in:
parent
2bd22c9663
commit
5e0f91f592
|
@ -23,7 +23,7 @@ module VagrantPlugins
|
||||||
# if we're on a system that doesn't support exec, so handle that properly.
|
# if we're on a system that doesn't support exec, so handle that properly.
|
||||||
def execute(uploader)
|
def execute(uploader)
|
||||||
cmd = []
|
cmd = []
|
||||||
cmd << "-debug" if !Vagrant.log_level.empty?
|
cmd << "-debug" if !Vagrant.log_level.nil?
|
||||||
cmd << "-vcs" if config.vcs
|
cmd << "-vcs" if config.vcs
|
||||||
cmd += config.includes.map { |v| ["-include", v] }
|
cmd += config.includes.map { |v| ["-include", v] }
|
||||||
cmd += config.excludes.map { |v| ["-exclude", v] }
|
cmd += config.excludes.map { |v| ["-exclude", v] }
|
||||||
|
|
Loading…
Reference in New Issue