Skip to content

Commit 852d299

Browse files
Add filter
1 parent c7748a8 commit 852d299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ide.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function handleResult(data) {
162162

163163
$statusLine.html(`${status.description}, ${time}, ${memory} (TAT: ${tat}ms)`);
164164

165-
const output = [compileOutput, stdout].join("\n").trimEnd();
165+
const output = [compileOutput, stdout].filter(x => x).join("\n").trimEnd();
166166

167167
stdoutEditor.setValue(output);
168168

0 commit comments

Comments
 (0)