Ensure output is shown even if no test command is given

This commit is contained in:
Sebastian Serth
2019-12-16 14:52:58 +01:00
parent ba4ea54e4f
commit fa229a581e
2 changed files with 6 additions and 1 deletions

View File

@ -150,6 +150,7 @@ CodeOceanEditorEvaluation = {
}
var element = this.findOrCreateOutputElement(index);
// Switch all four lines below to enable the output of images and render <IMG/> tags
if (!colorize) {
if (output.stdout !== undefined && output.stdout !== '') {
//element.append(output.stdout)