Apply Rubocop Performance/BindCall (#23437)
This commit is contained in:
parent
cec005068f
commit
c92e033cdd
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ module Rails
|
|||
module EngineExtensions
|
||||
# Rewrite task loading code to filter digitalocean.rake task
|
||||
def run_tasks_blocks(app)
|
||||
Railtie.instance_method(:run_tasks_blocks).bind(self).call(app)
|
||||
Railtie.instance_method(:run_tasks_blocks).bind_call(self, app)
|
||||
paths["lib/tasks"].existent.reject { |ext| ext.end_with?('digitalocean.rake') }.sort.each { |ext| load(ext) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue