From 1c138a00e49ea38449593a79e0fc525e7ef6be1a Mon Sep 17 00:00:00 2001 From: Ben Crowl Date: Sun, 24 May 2020 21:40:10 +1200 Subject: [PATCH] #39: Prevent HGPLAIN being overridden by user env --- src/hg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hg.ts b/src/hg.ts index 2edabad..9cc0a15 100644 --- a/src/hg.ts +++ b/src/hg.ts @@ -504,9 +504,9 @@ export class Hg { options.env = { HGENCODING: "utf-8", // allow user's env to overwrite this - HGPLAIN: '', ...process.env, ...options.env, + HGPLAIN: '', VSCODE_HG_COMMAND: args[0], LC_ALL: 'en_US.UTF-8', LANG: 'en_US.UTF-8'