Make sure to pipe output from staticCheckWorkers (#9256)

This commit is contained in:
JJ Kasper 2019-10-31 06:38:09 -05:00 committed by Tim Neutkens
parent c966900768
commit fa5fb97ce8

View file

@ -339,6 +339,8 @@ export default async function build(dir: string, conf = null): Promise<void> {
numWorkers: config.experimental.cpus,
enableWorkerThreads: config.experimental.workerThreads,
})
staticCheckWorkers.getStdout().pipe(process.stdout)
staticCheckWorkers.getStderr().pipe(process.stderr)
const analysisBegin = process.hrtime()
await Promise.all(