Skip to content

Commit

Permalink
fix(playground): empty output lines
Browse files Browse the repository at this point in the history
Signed-off-by: Prajwal S N <[email protected]>
  • Loading branch information
snprajwal committed Dec 20, 2023
1 parent 99eef56 commit dd97d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function processInputQueue() {
}
}

if (outputText !== "") {
if (outputText) {
updateHistoryEntry(repl.inputHistoryIndex, ok, outputText);
}
repl.inputQueue.shift();
Expand Down

0 comments on commit dd97d0d

Please sign in to comment.