diff options
author | Alin Sinpalean <[email protected]> | 2020-05-31 12:41:52 +0100 |
---|---|---|
committer | Alin Sinpalean <[email protected]> | 2020-05-31 12:41:55 +0100 |
commit | 771457ec5cc4e3af6f5d64b6b8d89f1cba4d2aba (patch) | |
tree | 9fe13bf51a080be51b516f98bc14b6d89bf2e50d /crates/ra_ide/src/references.rs | |
parent | 09df51dab89340bcf4b8ede95c02c32b0c8eb2bc (diff) |
Always derive from `process.env` when spawning a child process/shell execution
This is useful when an extension (e.g. Nix Environment Selector) or launch
configuration sets one or more environment variables.
When `env` is not explicitly specified in the options passed to
`child_process.spawn()` or `vscode.ShellExecution()`, then `process.env` gets
applied automatically. But when an explicit `env` is set, it should inherit from
`process.env` rather than replace it completely.
Diffstat (limited to 'crates/ra_ide/src/references.rs')
0 files changed, 0 insertions, 0 deletions