diff --git a/plugins/pushes/harmony/push.rb b/plugins/pushes/harmony/push.rb index 660d3b0fb..9fd926fee 100644 --- a/plugins/pushes/harmony/push.rb +++ b/plugins/pushes/harmony/push.rb @@ -24,8 +24,8 @@ module VagrantPlugins def execute(uploader) cmd = [] cmd << "-vcs" if @config.vcs - cmd += @config.include.map { |v| ["-include", v] } if !@config.include.empty? - cmd += @config.exclude.map { |v| ["-exclude", v] } if !@config.exclude.empty? + cmd += @config.include.map { |v| ["-include", v] } + cmd += @config.exclude.map { |v| ["-exclude", v] } cmd << @config.app cmd << File.expand_path(@config.dir, @environment.root_path) Vagrant::Util::SafeExec.exec(uploader, *cmd.flatten)