mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Enable Style/SingleLineMethods
and Style/Semicolon
in Rubocop (#6717)
This commit is contained in:
committed by
Guo Xiang Tan
parent
56948896ff
commit
9248ad1905
@@ -28,7 +28,7 @@ module Tilt
|
||||
ctx = MiniRacer::Context.new(timeout: 15000)
|
||||
ctx.eval("var self = this; #{File.read("#{Rails.root}/vendor/assets/javascripts/babel.js")}")
|
||||
ctx.eval(File.read(Ember::Source.bundled_path_for('ember-template-compiler.js')))
|
||||
ctx.eval("module = {}; exports = {};");
|
||||
ctx.eval("module = {}; exports = {};")
|
||||
ctx.attach("rails.logger.info", proc { |err| Rails.logger.info(err.to_s) })
|
||||
ctx.attach("rails.logger.error", proc { |err| Rails.logger.error(err.to_s) })
|
||||
ctx.eval <<JS
|
||||
|
Reference in New Issue
Block a user