Remove gsub from matcher
This commit is contained in:
@ -239,7 +239,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.gsub('.', '\.')}|#{test_command}/.match(message)
|
unless /root|workspace|#{run_command}|#{test_command}/.match(message)
|
||||||
parse_message(message, 'stdout', tubesock)
|
parse_message(message, 'stdout', tubesock)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user