mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
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> {
|
||||
const time = Date.now()
|
||||
this.log(`${message}...`, true)
|
||||
this.log(`${message}...`, !process.env.CI)
|
||||
try {
|
||||
const t = await fn()
|
||||
process.stdout.write(`took ${Date.now() - time}ms\n`)
|
||||
|
Loading…
Reference in New Issue
Block a user