mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-06 21:10:38 +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([{
|
new Listr([{
|
||||||
title: `Build ${fixtures.length} fixtures with concurrency of ${concurrency}`,
|
title: `Build ${fixtures.length} fixtures with concurrency of ${concurrency}`,
|
||||||
task: () => new Listr(tasks, {concurrent: concurrency})
|
task: () => new Listr(tasks, {concurrent: concurrency})
|
||||||
}])
|
}], { nonTTYRenderer: 'silent' })
|
||||||
.run()
|
.run()
|
||||||
.catch(console.error) // eslint-disable-line no-console
|
.catch(console.error) // eslint-disable-line no-console
|
||||||
.then(() => process.exit(0))
|
.then(() => process.exit(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user