remove more repl junk

This commit is contained in:
Koushik Dutta
2021-08-30 21:53:43 -07:00
parent e62042326e
commit c050ca2d8a

View File

@@ -380,6 +380,8 @@ async function createREPLServer(events: EventEmitter): Promise<number> {
});
delete ctx.console;
delete ctx.window;
delete ctx.WebSocket;
delete ctx.pluginHostAPI;
const replVariables = Object.keys(ctx).filter(key => key !== 'require');