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++;