提交 41025928 编写于 作者: B Benjamin Pasero

bootstrap - fix more compile errors

上级 ae64039e
...@@ -13,7 +13,7 @@ const bootstrapNode = require('./bootstrap-node'); ...@@ -13,7 +13,7 @@ const bootstrapNode = require('./bootstrap-node');
bootstrapNode.removeGlobalNodeModuleLookupPaths(); bootstrapNode.removeGlobalNodeModuleLookupPaths();
// Enable ASAR in our forked processes // Enable ASAR in our forked processes
bootstrap.enableASARSupport(); bootstrap.enableASARSupport(undefined);
if (process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']) { if (process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']) {
bootstrapNode.injectNodeModuleLookupPath(process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']); bootstrapNode.injectNodeModuleLookupPath(process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']);
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
//#region Portable helpers //#region Portable helpers
/** /**
* @param {{ portable: string; applicationName: string; }} product * @param {{ portable: string | undefined; applicationName: string; }} product
* @returns {{ portableDataPath: string; isPortable: boolean; } | undefined} * @returns {{ portableDataPath: string; isPortable: boolean; } | undefined}
*/ */
function configurePortable(product) { function configurePortable(product) {
......
...@@ -16,7 +16,7 @@ bootstrap.avoidMonkeyPatchFromAppInsights(); ...@@ -16,7 +16,7 @@ bootstrap.avoidMonkeyPatchFromAppInsights();
bootstrap.configurePortable(product); bootstrap.configurePortable(product);
// Enable ASAR support // Enable ASAR support
bootstrap.enableASARSupport(); bootstrap.enableASARSupport(undefined);
// Load CLI through AMD loader // Load CLI through AMD loader
require('./bootstrap-amd').load('vs/code/node/cli'); require('./bootstrap-amd').load('vs/code/node/cli');
...@@ -28,7 +28,7 @@ app.allowRendererProcessReuse = false; ...@@ -28,7 +28,7 @@ app.allowRendererProcessReuse = false;
const portable = bootstrap.configurePortable(product); const portable = bootstrap.configurePortable(product);
// Enable ASAR support // Enable ASAR support
bootstrap.enableASARSupport(); bootstrap.enableASARSupport(undefined);
// Set userData path before app 'ready' event // Set userData path before app 'ready' event
const args = parseCLIArgs(); const args = parseCLIArgs();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册