Editor: Allow file retrieval after code run

This commit is contained in:
Sebastian Serth
2022-10-04 15:17:16 +02:00
committed by Sebastian Serth
parent fb9672c7a4
commit 60078701f5
22 changed files with 311 additions and 8 deletions

View File

@@ -25,6 +25,12 @@ class Runner::Strategy::Null < Runner::Strategy
def copy_files(_files); end
def retrieve_files(_path:, _recursive:, privileged_execution: false); end
def download_file(_file, privileged_execution: false, &_block) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument
raise Runner::Error.new
end
def attach_to_execution(command, event_loop, starting_time, privileged_execution: false) # rubocop:disable Lint/UnusedMethodArgument for the keyword argument
socket = Connection.new(nil, self, event_loop)
# We don't want to return an error if the execution environment is changed