From 45690e798af6d4fca8addec9a8f3465ef286983c Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Fri, 9 Sep 2022 13:55:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20add=20newli?= =?UTF-8?q?ne=20after=20pretty=20printed=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/io.js | 2 +- src/main.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/io.js b/src/io.js index ff1fc3c..6c0b163 100644 --- a/src/io.js +++ b/src/io.js @@ -24,7 +24,7 @@ class Juicescript_io { // PRETTY PRINT INCOMMING DATA? // // object if(typeof text === "object"){ - text = "Object" + "\n" + JSON.stringify(text, null, 4); + text = "Object" + "\n" + JSON.stringify(text, null, 4) + "\n"; } diff --git a/src/main.js b/src/main.js index 062ee6f..3cf26e9 100644 --- a/src/main.js +++ b/src/main.js @@ -111,6 +111,5 @@ class Juicescript { */ run(){ /**/this.io.stderr.debug(this.program_tree); - /**/console.log(this.program_tree); } }