lib/rbbt/rest/common/resources.rb in rbbt-rest-1.7.2 vs lib/rbbt/rest/common/resources.rb in rbbt-rest-1.7.3

- old
+ new

@@ -43,10 +43,10 @@ path = locate_javascript(file) rescue path = locate_javascript(file.split("/")[2..-1] * "/") end - Open.read(path) + "//FILE: #{ File.basename(path) }\n" + Open.read(path) } * "\n" FileUtils.mkdir_p File.dirname(filename) unless File.exists? File.dirname(filename) Open.write(filename, Uglifier.compile(text)) end