mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-25 20:21:02 +00:00
fix: trainAI not using the bin location
This commit is contained in:
@@ -5,7 +5,7 @@ import EventEmitter from 'node:events';
|
||||
class HelperClient extends EventEmitter {
|
||||
constructor({ server }) {
|
||||
super();
|
||||
if (!server.port) throw new Error('You did not specify the server port.');
|
||||
if (!server?.port) throw new Error('You did not specify the server port.');
|
||||
this.server = server;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user