From 61ff55deaeb19c5dd829fc3edba888b77d369dd8 Mon Sep 17 00:00:00 2001 From: Trym Lund Flogard Date: Sun, 14 Nov 2021 18:43:26 +0100 Subject: [PATCH] format --- src/nextcloud/NextcloudClient.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nextcloud/NextcloudClient.ts b/src/nextcloud/NextcloudClient.ts index 3010df4..31d64b1 100644 --- a/src/nextcloud/NextcloudClient.ts +++ b/src/nextcloud/NextcloudClient.ts @@ -47,8 +47,7 @@ export class NextcloudClient { const filePath = await this.upload(zip) core.info(`Remote file path: ${filePath}`) return await this.shareFile(filePath) - } - finally { + } finally { await fs.unlink(zip) } } @@ -130,7 +129,7 @@ export class NextcloudClient { const remoteFilePath = `${remoteFileDir}/${this.artifact}.zip` core.debug(`Transferring file... (${file})`) - await this.davClient.putFileContents(remoteFilePath, await fs.readFile(file)); + await this.davClient.putFileContents(remoteFilePath, await fs.readFile(file)) return remoteFilePath }