From 7c2a17c404f433258f9d1c31189c0f75db349b60 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Tue, 3 May 2022 22:43:53 +0800 Subject: [PATCH] fix format --- src/remoteForOnedrive.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/remoteForOnedrive.ts b/src/remoteForOnedrive.ts index 0e909f5..c55110b 100644 --- a/src/remoteForOnedrive.ts +++ b/src/remoteForOnedrive.ts @@ -821,9 +821,7 @@ const downloadFromRemoteRaw = async ( return content; } else { const content = await // cannot set no-cache here, will have cors error - ( - await fetch(downloadUrl) - ).arrayBuffer(); + (await fetch(downloadUrl)).arrayBuffer(); return content; } };