mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-12-17 11:14:17 +01: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