From bbc2751775e2af2252d7dc7d9cb425ebdf6e4de9 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 22 Jun 2020 11:23:59 -0400 Subject: [PATCH] fix precedence of union of env objects Signed-off-by: Sebastian Malton --- src/main/shell-sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/shell-sync.ts b/src/main/shell-sync.ts index 4d165a1b1a..afeccaa657 100644 --- a/src/main/shell-sync.ts +++ b/src/main/shell-sync.ts @@ -27,7 +27,7 @@ export function shellSync(locale: string) { process.env["PATH"] = env.PATH } - // The spread operator allows joining of objects. The precidence is last to first. + // The spread operator allows joining of objects. The precedence is last to first. process.env = { ...env, ...process.env,