From 444e8fecc241fb889cb5e89a80f74f619d9f9289 Mon Sep 17 00:00:00 2001 From: Niklas Higi Date: Sat, 2 Jan 2021 16:23:23 +0100 Subject: [PATCH] Fix inconsistent indentation in `observe-process.ts` --- src/utils/observe-process.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/observe-process.ts b/src/utils/observe-process.ts index d93fdba..e2cf484 100644 --- a/src/utils/observe-process.ts +++ b/src/utils/observe-process.ts @@ -27,11 +27,11 @@ export default function observeProcess( subscriber.error(error) }) - process.stdout.on('data', (data: Buffer) => { - subscriber.next(data.toString().trim()) - stream.write(data) - }) - process.stderr.on('data', (data: Buffer) => stream.write(data)) + process.stdout.on('data', (data: Buffer) => { + subscriber.next(data.toString().trim()) + stream.write(data) + }) + process.stderr.on('data', (data: Buffer) => stream.write(data)) })() }) }