mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
refactor: make build-fixtures slient when not support tty
This commit is contained in:
parent
c12c5502ee
commit
f9ccbb5754
@ -52,7 +52,7 @@ const concurrency = Math.min(4, cpus().length)
|
||||
new Listr([{
|
||||
title: `Build ${fixtures.length} fixtures with concurrency of ${concurrency}`,
|
||||
task: () => new Listr(tasks, {concurrent: concurrency})
|
||||
}])
|
||||
}], { nonTTYRenderer: 'silent' })
|
||||
.run()
|
||||
.catch(console.error) // eslint-disable-line no-console
|
||||
.then(() => process.exit(0))
|
||||
|
Loading…
Reference in New Issue
Block a user