Fix typo after merge conflict

This commit is contained in:
mabashian 2021-02-12 14:23:01 -05:00
parent 88c4feb3ae
commit 16ad68a6b0

View File

@ -434,7 +434,7 @@ function JobOutput({
const firstIndex = fetchedEvents.findIndex(
jobEvent => jobEvent.counter === 1
);
if (firstIndex && fetchedResults[firstIndex]?.stdout) {
if (firstIndex && fetchedEvents[firstIndex]?.stdout) {
const stdoutLines = fetchedEvents[firstIndex].stdout.split('\r\n');
stdoutLines[0] = tracebackEvent.stdout;
fetchedEvents[firstIndex].stdout = stdoutLines.join('\r\n');