mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Remove dependency on node require for startup code path (#130088)
* sandbox - disable support to enable file protocol * mitigate symlinks on different drives
This commit is contained in:
2
src/bootstrap-fork.js
vendored
2
src/bootstrap-fork.js
vendored
@@ -16,7 +16,7 @@ const bootstrapNode = require('./bootstrap-node');
|
||||
bootstrapNode.removeGlobalNodeModuleLookupPaths();
|
||||
|
||||
// Enable ASAR in our forked processes
|
||||
bootstrap.enableASARSupport(undefined, false);
|
||||
bootstrap.enableASARSupport();
|
||||
|
||||
if (process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']) {
|
||||
bootstrapNode.injectNodeModuleLookupPath(process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']);
|
||||
|
||||
Reference in New Issue
Block a user