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 de38617 commit d344400Copy full SHA for d344400
packages/tailwindcss-language-service/src/util/getLanguageBoundaries.ts
@@ -96,8 +96,10 @@ export function getLanguageBoundaries(
96
text: string = doc.getText()
97
): LanguageBoundary[] | null {
98
let cacheKey = `${doc.languageId}:${text}`
99
- if (cache.has(cacheKey)) {
100
- return cache.get(cacheKey)
+
+ let cachedBoundaries = cache.get(cacheKey)
101
+ if (cachedBoundaries !== undefined) {
102
+ return cachedBoundaries
103
}
104
105
let defaultType = isVueDoc(doc)
0 commit comments