lib/juicer/minifyer/closure_compiler.rb in juicer-1.0.3 vs lib/juicer/minifyer/closure_compiler.rb in juicer-1.0.4
- old
+ new
@@ -60,10 +60,10 @@
true
end
out_dir = File.dirname(output)
FileUtils.mkdir_p(out_dir) unless File.exists?(out_dir)
- result = execute(%Q{-jar "#{locate_jar}"#{jar_args} -js_output_file "#{output}" -js "#{file}"})
+ execute(%Q{-jar "#{locate_jar}"#{jar_args} --js_output_file "#{output}" --js "#{file}"})
File.delete(file) if use_tmp
end
chain_method :save