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.
false
importLocalName
1 parent f011548 commit 35a3bb7Copy full SHA for 35a3bb7
src/utils/detectors.js
@@ -13,7 +13,7 @@ const localNameCache = {}
13
export const importLocalName = (name, state, bypassCache = false) => {
14
const cacheKey = name + state.file.opts.filename
15
16
- if (!bypassCache && localNameCache[cacheKey]) {
+ if (!bypassCache && cacheKey in localNameCache) {
17
return localNameCache[cacheKey]
18
}
19
0 commit comments