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 53a9408 commit 1d29644Copy full SHA for 1d29644
packages/vscode-extension/src/extension.ts
@@ -6,6 +6,7 @@ import {
6
ServerOptions,
7
TransportKind,
8
} from 'vscode-languageclient/node';
9
+import { chmodSync } from 'node:fs';
10
11
let client: LanguageClient;
12
@@ -19,6 +20,7 @@ export function activate(context: ExtensionContext) {
19
20
? binPathConfig
21
: Uri.joinPath(context.extensionUri, 'dist', 'rslint').fsPath;
22
console.log('Rslint binary path:', binPath);
23
+ chmodSync(binPath, 0o755); // The binary might not be executable by default
24
const run: Executable = {
25
command: binPath,
26
args: ['--lsp'],
0 commit comments