identify: send the item number to stdout, but the decorations to stderr

This commit is contained in:
Starbeamrainbowlabs 2020-07-03 16:15:54 +01:00
parent 8e8d510a2c
commit daed644665
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ export default async function(settings) {
let i = 0;
for await(let next of Terrain50.ParseStream(stream)) {
console.log(`${a.fgreen}>>>>> ${a.hicol}Item ${i}${a.reset}${a.fgreen} <<<<<${a.reset}`);
console.error(`${a.fgreen}>>>>> ${a.hicol}`);
console.log(`Item ${i}`);
console.error(`${a.reset}${a.fgreen} <<<<<${a.reset}`);
summarise_obj(next);
i++;