Fix NameError on block forward
This is a regression from 27f128ad
.
Fixes CODEOCEAN-12R
This commit is contained in:

committed by
Dominic Sauer

parent
b11b8b9e1e
commit
c4b7bac6c7
@ -56,7 +56,7 @@ class Runner < ApplicationRecord
|
||||
|
||||
def download_file(desired_file, privileged_execution:, exclusive: true, &)
|
||||
reserve! if exclusive
|
||||
@strategy.download_file(desired_file, privileged_execution:, &block)
|
||||
@strategy.download_file(desired_file, privileged_execution:, &)
|
||||
release! if exclusive
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user