tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/watcher/index.js b/packages/tailwindcss-language-server/src/watcher/index.js
index fa567f88c88a507ed9513072103e2ba4c97f5ee0..cfb84fc0d9d7bd466182389c1f046137f7db24e2 100644
--- a/packages/tailwindcss-language-server/src/watcher/index.js
+++ b/packages/tailwindcss-language-server/src/watcher/index.js
@@ -74,7 +74,11 @@ var builds = Object.keys(list)
var parsed = builds.map(parseTags)
var candidates = parsed.filter(matchTags(runtime, abi))
var winner = candidates.sort(compareTags(runtime))[0]
- if (winner) return list[winner.file]()
+ if (winner) {
+ try {
+ return list[winner.file]()
+ } catch (_error) {}
+ }
}
function parseTags(file) {