From 09313d2562119856ffb0ee7392d0e834b13c2f1c Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 3 Jul 2020 16:16:31 +0100 Subject: [PATCH] identify: fix rogue newlines --- src/Subcommands/identify/index.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Subcommands/identify/index.mjs b/src/Subcommands/identify/index.mjs index ba8b385..5db59ec 100644 --- a/src/Subcommands/identify/index.mjs +++ b/src/Subcommands/identify/index.mjs @@ -35,9 +35,9 @@ export default async function(settings) { let i = 0; for await(let next of Terrain50.ParseStream(stream)) { - console.error(`${a.fgreen}>>>>> ${a.hicol}`); - console.log(`Item ${i}`); - console.error(`${a.reset}${a.fgreen} <<<<<${a.reset}`); + process.stderr.write(`${a.fgreen}>>>>> ${a.hicol}`); + process.stdout.write(`Item ${i}`); + process.stderr.write(`${a.reset}${a.fgreen} <<<<<${a.reset}`); summarise_obj(next); i++;