mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-07-13 05:35:38 +02:00
test
This commit is contained in:
@ -166,7 +166,7 @@ export class NextcloudClient {
|
||||
const stream = fsSync.createReadStream(file)
|
||||
.pipe(this.davClient.createWriteStream(remoteFilePath));
|
||||
|
||||
return await new Promise<string>((resolve, reject) => {
|
||||
return new Promise<string>((resolve, reject) => {
|
||||
stream.on('error', () => reject("Failed to upload file"))
|
||||
.on('close', () => resolve(remoteFilePath));
|
||||
});
|
||||
|
Reference in New Issue
Block a user