mirror of
https://github.com/GitSquared/edex-ui.git
synced 2024-09-21 10:37:29 +00:00
fix: prevent passing tainted env to subprocesses - close #1124
This commit is contained in:
parent
04d303f4a9
commit
9fbf0d2fb7
@ -228,7 +228,7 @@ app.on('ready', async () => {
|
||||
// See #366
|
||||
let cleanEnv = await require("shell-env")(settings.shell).catch(e => { throw e; });
|
||||
|
||||
Object.assign(cleanEnv, process.env, {
|
||||
Object.assign(cleanEnv, {
|
||||
TERM: "xterm-256color",
|
||||
COLORTERM: "truecolor",
|
||||
TERM_PROGRAM: "eDEX-UI",
|
||||
|
Loading…
Reference in New Issue
Block a user