From e1b5b977b724db4cda74dfcfc8e287a30707c930 Mon Sep 17 00:00:00 2001 From: fyears Date: Thu, 21 Oct 2021 09:36:34 +0800 Subject: [PATCH] format --- README.md | 1 - main.ts | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9840f45..93c4fc8 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,3 @@ Remote service in support list: - [ ] AWS S3 - [ ] webdav - diff --git a/main.ts b/main.ts index 9c93108..61fc14f 100644 --- a/main.ts +++ b/main.ts @@ -152,7 +152,8 @@ export default class SaveRemotePlugin extends Plugin { Bucket: this.settings.s3BucketName, Key: `${fileOrFolder.path}`, Body: Buffer.from(arrContent), - ContentType: mime.contentType(`${fileOrFolder.path}`) || undefined + ContentType: + mime.contentType(`${fileOrFolder.path}`) || undefined, }) ); }