1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix precedence of union of env objects

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian Malton 2020-06-22 11:23:59 -04:00
parent 1e40166584
commit bbc2751775

View File

@ -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,