We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90524ad commit f29a612Copy full SHA for f29a612
src/LayerCache.ts
@@ -226,12 +226,12 @@ class LayerCache {
226
}
227
228
genSingleLayerStoreKey(id: string) {
229
- return `layer-${this.getFormattedOriginalCacheKey()}-${id}`
+ return `layer-${this.getFormattedOriginalCacheKey(id)}`
230
231
232
- getFormattedOriginalCacheKey() {
+ getFormattedOriginalCacheKey(hash?: string) {
233
return format(this.originalKeyThatMayUnformatted, {
234
- hash: this.getIdhashesPathFriendly()
+ hash: hash !== undefined ? hash : this.getIdhashesPathFriendly()
235
})
236
237
0 commit comments