From dd97d0da75394df60981b25978aa0f4ec541c419 Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Thu, 21 Dec 2023 01:37:47 +0530 Subject: [PATCH] fix(playground): empty output lines Signed-off-by: Prajwal S N --- www/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.js b/www/index.js index 9ff6f1e..5cd35ab 100644 --- a/www/index.js +++ b/www/index.js @@ -113,7 +113,7 @@ async function processInputQueue() { } } - if (outputText !== "") { + if (outputText) { updateHistoryEntry(repl.inputHistoryIndex, ok, outputText); } repl.inputQueue.shift();