fix(server): apply plugin pty environment (#32296)
This commit is contained in:
parent
8cc2276dba
commit
7ad68f8150
8 changed files with 135 additions and 3 deletions
|
|
@ -197,8 +197,6 @@ export const layer = Layer.effect(
|
|||
const command = input.command || Shell.preferred(Config.latest(yield* config.entries(), "shell"))
|
||||
const args = Shell.login(command) ? [...(input.args ?? []), "-l"] : [...(input.args ?? [])]
|
||||
const cwd = input.cwd || location.directory
|
||||
// TODO: Apply plugin shell.env environment augmentation once V2 plugin hooks exist; legacy
|
||||
// routes merge plugin-provided values into input.env at the boundary.
|
||||
const env = {
|
||||
...process.env,
|
||||
...input.env,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue