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.
2 parents dd9d242 + 587b6bb commit d6a20caCopy full SHA for d6a20ca
server/src/linter.ts
@@ -62,7 +62,12 @@ export default class Linter {
62
document: LSP.TextDocument,
63
folders: LSP.WorkspaceFolder[],
64
): Promise<ShellcheckResult> {
65
- const args = ['--format=json1', '--external-sources', `--source-path=${this.cwd}`]
+ const args = [
66
+ '--shell=bash',
67
+ '--format=json1',
68
+ '--external-sources',
69
+ `--source-path=${this.cwd}`,
70
+ ]
71
for (const folder of folders) {
72
args.push(`--source-path=${folder.name}`)
73
}
0 commit comments