From 3124e05ce169a5fcd531772c31f81e1c512cdec3 Mon Sep 17 00:00:00 2001 From: Reed Rosenbluth Date: Mon, 13 Jul 2020 17:41:08 -0700 Subject: [PATCH] fix: merge conflict mistake --- src/storage/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/index.ts b/src/storage/index.ts index 7eca112fd..2b692e38a 100644 --- a/src/storage/index.ts +++ b/src/storage/index.ts @@ -759,9 +759,9 @@ export async function putFile( let etag: string let newFile = true + const sessionData = caller.store.getSessionData(); if (!opt.dangerouslyIgnoreEtag) { - const sessionData = caller.store.getSessionData(); if (sessionData.etags[path]) { newFile = false etag = sessionData.etags[path]