Skip to content

Commit 6dd6b44

Browse files
committed
sanitize SNAP variables
1 parent 5b1500a commit 6dd6b44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/vs/base/node/processes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ export function sanitizeProcessEnvironment(env: Platform.IProcessEnvironment): v
7979
const keysToRemove = [
8080
/^ELECTRON_.+$/,
8181
/^GOOGLE_API_KEY$/,
82-
/^VSCODE_.+$/
82+
/^VSCODE_.+$/,
83+
/^SNAP(|_.*)$/
8384
];
8485
const envKeys = Object.keys(env);
8586
envKeys.forEach(envKey => {

0 commit comments

Comments
 (0)