Less strict filter for workspace output

This commit is contained in:
Sebastian Serth
2021-02-02 11:28:35 +01:00
parent 4f8985d0b5
commit de0c1e60c6

View File

@ -253,7 +253,7 @@ class SubmissionsController < ApplicationController
# If no test command is set, use the run_command for the RegEx below. Otherwise, no output will be displayed! # If no test command is set, use the run_command for the RegEx below. Otherwise, no output will be displayed!
test_command = run_command test_command = run_command
end end
unless /root|workspace|#{run_command}|#{test_command}|bash: cmd:canvasevent: command not found/.match(message) unless /root@|:\/workspace|#{run_command}|#{test_command}|bash: cmd:canvasevent: command not found/.match(message)
parse_message(message, 'stdout', tubesock, container) parse_message(message, 'stdout', tubesock, container)
end end
end end