Skip to content

Commit

Permalink
#39: Prevent HGPLAIN being overridden by user env
Browse files Browse the repository at this point in the history
  • Loading branch information
epben committed May 24, 2020
1 parent 69266ed commit 1c138a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1c138a0

Please sign in to comment.