fix: Async progress

This commit is contained in:
Andras Bacsai 2022-04-03 22:53:50 +02:00
parent 53947d805b
commit 39f2e28a11

View File

@ -126,7 +126,7 @@ export async function streamEvents({ stream, docker, buildId, applicationId, deb
if (err) reject(err);
resolve(res);
}
function onProgress(event) {
async function onProgress(event) {
if (event.error) {
reject(event.error);
} else if (event.stream) {