Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
[server] Fix crash on M1 macs
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 1 additions(+), 0 deletions(-)
M packages/tailwindcss-language-server/src/watcher/index.js -> packages/tailwindcss-language-server/src/watcher/index.js
diff --git a/packages/tailwindcss-language-server/src/watcher/index.js b/packages/tailwindcss-language-server/src/watcher/index.js
index cfb84fc0d9d7bd466182389c1f046137f7db24e2..c39a576df3fdd05c07d3152691491ce073296a6f 100644
--- a/packages/tailwindcss-language-server/src/watcher/index.js
+++ b/packages/tailwindcss-language-server/src/watcher/index.js
@@ -70,6 +70,7 @@
 function resolve() {
   // Find most specific flavor first
   var list = prebuilds[platform + '-' + arch]
+  if (!list) return
   var builds = Object.keys(list)
   var parsed = builds.map(parseTags)
   var candidates = parsed.filter(matchTags(runtime, abi))