From 56ac8cc4fcb5e9ca86b31d7519df77d909e07bc9 Mon Sep 17 00:00:00 2001 From: Jonghakseo Date: Sun, 8 Dec 2024 20:28:15 +0900 Subject: [PATCH 1/2] fix: simplify --- packages/storage/lib/base/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage/lib/base/base.ts b/packages/storage/lib/base/base.ts index b6e89457f..0ed6cccbb 100644 --- a/packages/storage/lib/base/base.ts +++ b/packages/storage/lib/base/base.ts @@ -102,7 +102,7 @@ export function createStorage(key: string, fallback: D, config?: Sto }; const set = async (valueOrUpdate: ValueOrUpdate) => { - if (initedCache === false) { + if (!initedCache) { cache = await get(); } cache = await updateCache(valueOrUpdate, cache); From e8a1641e8567209ef5525410caef72be15571846 Mon Sep 17 00:00:00 2001 From: Jonghakseo Date: Sun, 8 Dec 2024 20:29:11 +0900 Subject: [PATCH 2/2] feat: update lock file --- pnpm-lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cd050858f..a70369e0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8318,7 +8318,7 @@ snapshots: webdriver@9.4.1: dependencies: '@types/node': 20.16.10 - '@types/ws': 8.5.12 + '@types/ws': 8.5.13 '@wdio/config': 9.2.8 '@wdio/logger': 9.1.3 '@wdio/protocols': 9.2.2