Skip to content

Commit 914cba7

Browse files
Return promises
1 parent 23f3b8d commit 914cba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/s3-sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export async function backupExistingFolders() {
4141
await checkExecutableValidity()
4242
const timestamp = new Date().toLocaleString().replace(/[/|:| |,]/g, '_')
4343

44-
await executeS3Sync({
44+
return await executeS3Sync({
4545
from: `${apiDocsBucketUrl}/rev-index`,
4646
to: `${apiDocsBucketUrl}/rev-index-backup/${timestamp}`,
4747
})

0 commit comments

Comments
 (0)