Fix NameError on block forward

This is a regression from 27f128ad.

Fixes CODEOCEAN-12R
This commit is contained in:
Sebastian Serth
2024-04-24 14:27:20 +02:00
committed by Dominic Sauer
parent b11b8b9e1e
commit c4b7bac6c7

View File

@ -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