summaryrefslogtreecommitdiff
path: root/vendor/supply_drop/lib
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/supply_drop/lib')
-rw-r--r--vendor/supply_drop/lib/supply_drop/rsync.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/supply_drop/lib/supply_drop/rsync.rb b/vendor/supply_drop/lib/supply_drop/rsync.rb
index 732a719..a3d4898 100644
--- a/vendor/supply_drop/lib/supply_drop/rsync.rb
+++ b/vendor/supply_drop/lib/supply_drop/rsync.rb
@@ -18,11 +18,11 @@ module SupplyDrop
end
def excludes(patterns)
- [patterns].flatten.map { |p| "--exclude='#{p}'" }
+ [patterns].flatten.compact.map { |p| "--exclude='#{p}'" }
end
def includes(patterns)
- [patterns].flatten.map { |p| "--include='#{p}'" }
+ [patterns].flatten.compact.map { |p| "--include='#{p}'" }
end
def ssh_options(options)