mirror of
https://github.com/koush/scrypted.git
synced 2026-05-30 08:10:30 +01:00
remove more repl junk
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user