Skip to content

Commit 7e21142

Browse files
committed
binaryPath was added to the settings
1 parent 81aaa11 commit 7e21142

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@
131131
"type": "boolean",
132132
"default": false,
133133
"description": "Automatically start ReScript's code analysis."
134+
},
135+
"rescript.settings.binaryPath": {
136+
"type": ["string", "null"],
137+
"default": null,
138+
"description": "Path to the directory where ReScript binaries are. You can use it if you haven't or don't want to use the installed ReScript from node_modules in your project."
134139
}
135140
}
136141
},

server/src/server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ import { filesDiagnostics } from "./utils";
2424

2525
interface extensionConfiguration {
2626
askToStartBuild: boolean;
27+
binaryPath: string | null;
2728
}
2829
let extensionConfiguration: extensionConfiguration = {
2930
askToStartBuild: true,
31+
binaryPath: null,
3032
};
3133
let pullConfigurationPeriodically: NodeJS.Timeout | null = null;
3234

0 commit comments

Comments
 (0)