提交 49ba5a4b 编写于 作者: R Rob Lourens

Fix #60203 - VSCODE_NODE_CACHED_DATA_DIR can be inherited from the DA process....

Fix #60203 - VSCODE_NODE_CACHED_DATA_DIR can be inherited from the DA process. If --no-cached-data is passed, that var should be cleared
上级 b58e07b1
......@@ -147,7 +147,7 @@
},
"urlFilter": "*workbench.html*",
"runtimeArgs": [
"--inspect=5875"
"--inspect=5875", "--no-cached-data"
],
"smartStep": true,
"skipFiles": [
......
......@@ -88,10 +88,7 @@ function onReady() {
const startup = nlsConfig => {
nlsConfig._languagePackSupport = true;
process.env['VSCODE_NLS_CONFIG'] = JSON.stringify(nlsConfig);
if (cachedDataDir) {
process.env['VSCODE_NODE_CACHED_DATA_DIR'] = cachedDataDir;
}
process.env['VSCODE_NODE_CACHED_DATA_DIR'] = cachedDataDir || '';
// Load main in AMD
require('./bootstrap-amd').load('vs/code/electron-main/main');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册