fix: Async progress
This commit is contained in:
parent
53947d805b
commit
39f2e28a11
@ -126,7 +126,7 @@ export async function streamEvents({ stream, docker, buildId, applicationId, deb
|
|||||||
if (err) reject(err);
|
if (err) reject(err);
|
||||||
resolve(res);
|
resolve(res);
|
||||||
}
|
}
|
||||||
function onProgress(event) {
|
async function onProgress(event) {
|
||||||
if (event.error) {
|
if (event.error) {
|
||||||
reject(event.error);
|
reject(event.error);
|
||||||
} else if (event.stream) {
|
} else if (event.stream) {
|
||||||
|
Loading…
Reference in New Issue
Block a user