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 c5aa6c1 commit 8e9b5a2Copy full SHA for 8e9b5a2
src/vs/workbench/api/common/extHostTerminalService.ts
@@ -927,7 +927,7 @@ class EnvironmentVariableCollection {
927
}
928
929
private _setIfDiffers(variable: string, mutator: vscode.EnvironmentVariableMutator & { scope: vscode.EnvironmentVariableScope | undefined }): void {
930
- if (mutator.options && mutator.options.applyAtProcessCreation === false && mutator.options.applyAtShellIntegration) {
+ if (mutator.options && mutator.options.applyAtProcessCreation === false && !mutator.options.applyAtShellIntegration) {
931
throw new Error('EnvironmentVariableMutatorOptions must apply at either process creation or shell integration');
932
933
if (!mutator.scope) {
0 commit comments