Skip to content

Commit ae22dd4

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: Pass execution arguments to linter when run as a stand alone executable (#406)
2 parents dab38dc + f46d292 commit ae22dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/linters/baseLinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export abstract class BaseLinter {
126126
} else {
127127
const env = await this.serviceContainer.get<IEnvironmentVariablesProvider>(IEnvironmentVariablesProvider).getEnvironmentVariables(true, document.uri);
128128
const executionService = this.serviceContainer.get<IProcessService>(IProcessService);
129-
executionPromise = executionService.exec(executionInfo.execPath!, args, { cwd, env, token: cancellation, mergeStdOutErr: true });
129+
executionPromise = executionService.exec(executionInfo.execPath!, executionInfo.args, { cwd, env, token: cancellation, mergeStdOutErr: true });
130130
}
131131
try {
132132
const result = await executionPromise;

0 commit comments

Comments
 (0)