Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/run.ts')
| -rw-r--r-- | editors/code/src/run.ts | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/editors/code/src/run.ts b/editors/code/src/run.ts index bed874705d..87c1d529f7 100644 --- a/editors/code/src/run.ts +++ b/editors/code/src/run.ts @@ -122,10 +122,7 @@ export class RunnableQuickPick implements vscode.QuickPickItem { } } -export function prepareBaseEnv( - inheritEnv: boolean, - base?: Env, -): Env { +export function prepareBaseEnv(inheritEnv: boolean, base?: Env): Env { const env: Env = { RUST_BACKTRACE: "short" }; if (inheritEnv) { Object.assign(env, process.env); @@ -136,11 +133,7 @@ export function prepareBaseEnv( return env; } -export function prepareEnv( - inheritEnv: boolean, - runnableEnv?: Env, - runnableEnvCfg?: Env, -): Env { +export function prepareEnv(inheritEnv: boolean, runnableEnv?: Env, runnableEnvCfg?: Env): Env { const env = prepareBaseEnv(inheritEnv, runnableEnv); if (runnableEnvCfg) { |