Skip to content

Commit

Permalink
Fix inconsistent indentation in observe-process.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashigi committed Jan 2, 2021
1 parent 10be937 commit 444e8fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utils/observe-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})()
})
}

0 comments on commit 444e8fe

Please sign in to comment.