1
0
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:
Asher 2020-03-05 11:39:08 -06:00
parent 8c515029fd
commit c7e6e58387
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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`)