From de0c1e60c60848cf667a5190548962c1f1a11234 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 2 Feb 2021 11:28:35 +0100 Subject: [PATCH] Less strict filter for workspace output --- app/controllers/submissions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/submissions_controller.rb b/app/controllers/submissions_controller.rb index 44d47092..fd8b90bf 100644 --- a/app/controllers/submissions_controller.rb +++ b/app/controllers/submissions_controller.rb @@ -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! test_command = run_command 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) end end