mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
feat: restrict access to system process env vars (#3226)
This commit is contained in:
parent
727fa26e44
commit
f35b715c6f
@ -201,7 +201,6 @@ const add = async (win, pathname, collectionUid, collectionPath) => {
|
|||||||
const payload = {
|
const payload = {
|
||||||
collectionUid,
|
collectionUid,
|
||||||
processEnvVariables: {
|
processEnvVariables: {
|
||||||
...process.env,
|
|
||||||
...jsonData
|
...jsonData
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -331,7 +330,6 @@ const change = async (win, pathname, collectionUid, collectionPath) => {
|
|||||||
const payload = {
|
const payload = {
|
||||||
collectionUid,
|
collectionUid,
|
||||||
processEnvVariables: {
|
processEnvVariables: {
|
||||||
...process.env,
|
|
||||||
...jsonData
|
...jsonData
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user