Exec.js error
JS_PATH = 'app/assets/javascripts/**/*.js' | |
Dir[JS_PATH].each do |file| | |
begin | |
Uglifier.compile(File.read(file)) | |
rescue => e | |
puts e.message | |
puts file | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment