Skip to content

Commit 6d88a5c

Browse files
committed
[server] Fix crash on M1 macs
1 parent 6812188 commit 6d88a5c

File tree

1 file changed

+1
-0
lines changed
  • packages/tailwindcss-language-server/src/watcher

1 file changed

+1
-0
lines changed

packages/tailwindcss-language-server/src/watcher/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ exports.unsubscribe = (dir, fn, opts) => {
7070
function resolve() {
7171
// Find most specific flavor first
7272
var list = prebuilds[platform + '-' + arch]
73+
if (!list) return
7374
var builds = Object.keys(list)
7475
var parsed = builds.map(parseTags)
7576
var candidates = parsed.filter(matchTags(runtime, abi))

0 commit comments

Comments
 (0)