1
0
Fork 0
mirror of https://github.com/sbrl/terrain50-cli.git synced 2024-11-26 07:33:00 +00:00

image: missing \n

This commit is contained in:
Starbeamrainbowlabs 2021-01-15 17:13:15 +00:00
parent 83823965e9
commit 5fce0fa3b5
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -38,7 +38,7 @@ export default async function(settings) {
let i = 0;
for await(let next of Terrain50.ParseStream(reader, settings.cli.tolerant ? /\s+/ : " ")) {
process.stderr.write(`${a.fgreen}>>>>> ${a.hicol} Item ${i} ${a.reset}${a.fgreen} <<<<<${a.reset}`);
process.stderr.write(`${a.fgreen}>>>>> ${a.hicol} Item ${i} ${a.reset}${a.fgreen} <<<<<${a.reset}\n`);
await fs.promises.writeFile(
path.join(settings.cli.output, `${i}.png`),