Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/wdio/spec-reporter-9…
Browse files Browse the repository at this point in the history
….2.14
  • Loading branch information
Jonghakseo authored Dec 8, 2024
2 parents 4174781 + e8a1641 commit 913b447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storage/lib/base/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function createStorage<D = string>(key: string, fallback: D, config?: Sto
};

const set = async (valueOrUpdate: ValueOrUpdate<D>) => {
if (initedCache === false) {
if (!initedCache) {
cache = await get();
}
cache = await updateCache(valueOrUpdate, cache);
Expand Down

0 comments on commit 913b447

Please sign in to comment.