mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-13 05:35:38 +02:00
await remote stream
This commit is contained in:
@ -172,6 +172,10 @@ export class NextcloudClient {
|
||||
fileStream.on('error', e => reject(e)).on('close', () => resolve())
|
||||
})
|
||||
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
remoteStream.on('error', e => reject(e)).on('close', () => resolve())
|
||||
})
|
||||
|
||||
return remoteFilePath
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user