Merge pull request #4594 from thelounge/xpaw/fix-4593

Fix user commands not working
This commit is contained in:
Pavel Djundik 2022-06-21 15:05:19 +03:00 committed by GitHub
commit f715c833e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ program
} }
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const ClientManager = require("../../clientManager"); const ClientManager = require("../../clientManager").default;
const manager = new ClientManager(); const manager = new ClientManager();
const users = manager.getUsers(); const users = manager.getUsers();

View File

@ -18,7 +18,7 @@ program
} }
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const ClientManager = require("../../clientManager"); const ClientManager = require("../../clientManager").default;
const users = new ClientManager().getUsers(); const users = new ClientManager().getUsers();
if (users === undefined) { if (users === undefined) {

View File

@ -17,7 +17,7 @@ program
} }
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const ClientManager = require("../../clientManager"); const ClientManager = require("../../clientManager").default;
const manager = new ClientManager(); const manager = new ClientManager();
try { try {

View File

@ -19,7 +19,7 @@ program
} }
// eslint-disable-next-line @typescript-eslint/no-var-requires // eslint-disable-next-line @typescript-eslint/no-var-requires
const ClientManager = require("../../clientManager"); const ClientManager = require("../../clientManager").default;
const users = new ClientManager().getUsers(); const users = new ClientManager().getUsers();
if (users === undefined) { if (users === undefined) {