lib/astrails/safe/archive.rb in astrails-safe-0.1.6 vs lib/astrails/safe/archive.rb in astrails-safe-0.1.7
- old
+ new
@@ -14,11 +14,11 @@
[*@config[:exclude]].compact.map{|x| "--exclude=#{x}"} * " "
end
def tar_files
raise RuntimeError, "missing files for tar" unless @config[:files]
- [*@config[:files]] * " "
+ [*@config[:files]].map {|s| s.strip} * " "
end
end
end
-end
+end
\ No newline at end of file