Change `task.invoke` to `Rake::Task.invoke`
Using `task()` reopens the definition of the task, and all we really need to do is get a reference to the task itself to invoke it.
Showing
Please
register
or
sign in
to comment
Using `task()` reopens the definition of the task, and all we really need to do is get a reference to the task itself to invoke it.