Skip to content

Commit f576bf5

Browse files
committed
Add SHELLCHECK_PATH to vscode extension
1 parent cadba02 commit f576bf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vscode-client/src/extension.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ export async function activate(context: ExtensionContext) {
1919
.getConfiguration('bashIde')
2020
.get('highlightParsingErrors', false)
2121

22+
const shellcheckPath = workspace
23+
.getConfiguration('bashIde')
24+
.get('shellcheckPath', '')
25+
2226
const env: any = {
2327
...process.env,
28+
SHELLCHECK_PATH: shellcheckPath,
2429
EXPLAINSHELL_ENDPOINT: explainshellEndpoint,
2530
GLOB_PATTERN: globPattern,
2631
HIGHLIGHT_PARSING_ERRORS: highlightParsingErrors,

0 commit comments

Comments
 (0)