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 535ccf8 commit 6fad78bCopy full SHA for 6fad78b
package.json
@@ -64,7 +64,6 @@
64
"astGrep.serverPath": {
65
"scope": "window",
66
"type": "string",
67
- "default": "ast-grep",
68
"description": "Specify the language server binary path."
69
},
70
"astGrep.configPath": {
src/extension/common.ts
@@ -32,7 +32,11 @@ export async function detectDefaultBinaryAtStart() {
32
}
33
34
export function resolveBinary() {
35
- return workspace.getConfiguration('astGrep').get('serverPath', defaultBinary)
+ const config = workspace.getConfiguration('astGrep').get('serverPath', '')
36
+ if (!config) {
37
+ return defaultBinary
38
+ }
39
+ return config
40
41
42
export async function testBinaryExist(command: string) {
0 commit comments