Skip to content

Commit

Permalink
fix: boolean check
Browse files Browse the repository at this point in the history
  • Loading branch information
PfisterFactor committed Mar 23, 2024
1 parent 59bd5df commit 49cf22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/Cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class CacheEngine {
this.#engine = new MemoryCacheEngine()
}

this.#debug = (cacheOptions.debug === true) ?? false
this.#debug = cacheOptions.debug === true
}

async get(key: string): Promise<IData> {
Expand Down

0 comments on commit 49cf22e

Please sign in to comment.