Skip to content

Commit 0cf2696

Browse files
author
Charles Gonnaud
committed
Provide a default value for intel macs
1 parent 785e00b commit 0cf2696

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lsp-sonarlint.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@
4848
(format "https://github.com/SonarSource/sonarlint-vscode/releases/download/4.6.0%%2B76435/sonarlint-vscode%s-4.6.0.vsix"
4949
(pcase system-type
5050
('gnu/linux "-linux-x64")
51-
('darwin "-darwin-arm64")
51+
('darwin
52+
(pcase (lsp-resolve-value lsp--system-arch)
53+
('x64 "-darwin-x64")
54+
('arm64 "-darwin-arm64")))
5255
('windows-nt "-win32-x64")))
5356
"Official SonarLint VSCode extension (vsix).
5457
It contains the necessary language server and analyzers."

0 commit comments

Comments
 (0)