refactor: ♻️ Fix code smells
This commit is contained in:
parent
975b9686dc
commit
35e2d2eee0
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export const register = async (client: Client) => {
|
|||
throw new Error(`📡 Invalid event type for event: ${name}`);
|
||||
}
|
||||
|
||||
loadedEvents++;
|
||||
return loadedEvents++;
|
||||
};
|
||||
|
||||
for await (const eventName of eventNames) {
|
||||
|
|
Loading…
Add table
Reference in a new issue