You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOOKUP_MONITOR = Monitor.new
module RakeTaskManagerPatch
def [](task_name, scopes=nil)
self.lookup(task_name.to_s, scopes) or LOOKUP_MONITOR.synchronize { super(task_name, scopes) }
end
end
class Rake::Application prepend RakeTaskManagerPatch end
Given a Rakefile
the target may get executed multiple times like this
The results differ between runs. It seems to happen more often with debug output.
The same action block gets added multiple times to the same task.
The text was updated successfully, but these errors were encountered: