Skip to content

Commit bc076ca

Browse files
committed
Fix custom paths resolve
1 parent 85d2225 commit bc076ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/vscode/bootstrapFork.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const requireFilesystemModule = (id: string, builtInExtensionsDir: string): any
2222
const customMod = new mod.Module(id);
2323
customMod.filename = id;
2424
// tslint:disable-next-line:no-any
25-
customMod.paths = [(<any>mod)._nodeModulePaths(path.dirname(id)), path.join(__dirname, "../../../../lib/vscode/node_modules")];
25+
customMod.paths = (<any>mod)._nodeModulePaths(path.dirname(id));
2626

2727
if (id.startsWith(builtInExtensionsDir)) {
2828
customMod.loaded = true;

0 commit comments

Comments
 (0)