feat: restrict access to system process env vars (#3226)

This commit is contained in:
lohit 2024-09-30 16:39:05 +05:30 committed by GitHub
parent 727fa26e44
commit f35b715c6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,7 +201,6 @@ const add = async (win, pathname, collectionUid, collectionPath) => {
const payload = {
collectionUid,
processEnvVariables: {
...process.env,
...jsonData
}
};
@ -331,7 +330,6 @@ const change = async (win, pathname, collectionUid, collectionPath) => {
const payload = {
collectionUid,
processEnvVariables: {
...process.env,
...jsonData
}
};