lib/oddb2xml/cli.rb in oddb2xml-1.0.3 vs lib/oddb2xml/cli.rb in oddb2xml-1.0.4

- old
+ new

@@ -65,10 +65,10 @@ builder.items = @items end xml = builder.to_xml File.open(file, 'w:utf-8'){ |fh| fh << xml } end - unless @options[:compress].empty? + if @options[:compress] compressor = Compressor.new(@options[:compress]) files.values.each do |file| compressor.contents << file end compressor.finalize!