server: remove cruft

This commit is contained in:
Koushik Dutta
2021-10-24 11:10:20 -07:00
parent da11265f79
commit 0bc8de9720

View File

@@ -31,7 +31,6 @@ export class PluginHost {
pluginId: string;
module: Promise<any>;
scrypted: ScryptedRuntime;
console: Promise<Console>;
remote: PluginRemote;
zip: AdmZip;
io = io(undefined, {
@@ -155,7 +154,6 @@ export class PluginHost {
this.api = new PluginHostAPI(scrypted, plugin, this);
this.console = this.peer.eval('return console', undefined, undefined, true) as Promise<Console>;
const zipBuffer = Buffer.from(plugin.zip, 'base64');
this.zip = new AdmZip(zipBuffer);