Output newlines in CI immediately
Perhaps this is causing the output buffering issue with the arm builds.
This commit is contained in:
parent
8c515029fd
commit
c7e6e58387
@ -34,7 +34,7 @@ class Builder {
|
|||||||
|
|
||||||
private async task<T>(message: string, fn: () => Promise<T>): Promise<T> {
|
private async task<T>(message: string, fn: () => Promise<T>): Promise<T> {
|
||||||
const time = Date.now()
|
const time = Date.now()
|
||||||
this.log(`${message}...`, true)
|
this.log(`${message}...`, !process.env.CI)
|
||||||
try {
|
try {
|
||||||
const t = await fn()
|
const t = await fn()
|
||||||
process.stdout.write(`took ${Date.now() - time}ms\n`)
|
process.stdout.write(`took ${Date.now() - time}ms\n`)
|
||||||
|
Reference in New Issue
Block a user