提交 6dd6b441 编写于 作者: J Joao Moreno

sanitize SNAP variables

上级 5b1500ab
......@@ -79,7 +79,8 @@ export function sanitizeProcessEnvironment(env: Platform.IProcessEnvironment): v
const keysToRemove = [
/^ELECTRON_.+$/,
/^GOOGLE_API_KEY$/,
/^VSCODE_.+$/
/^VSCODE_.+$/,
/^SNAP(|_.*)$/
];
const envKeys = Object.keys(env);
envKeys.forEach(envKey => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册