Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SocketSomeone committed Jan 21, 2025
1 parent a7ab59a commit d89020f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export default tseslint.config(
'@typescript-eslint/prefer-promise-reject-errors': 'off',
'@typescript-eslint/no-base-to-string': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/only-throw-error': 'off'
'@typescript-eslint/only-throw-error': 'off',
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
}
}
);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@necord/lavalink",
"description": "A implementation of lavalink-client for Necord",
"version": "1.1.1",
"version": "1.1.2",
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.build.json",
"prepublish:npm": "npm run build",
Expand Down
4 changes: 1 addition & 3 deletions src/necord-lavalink.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ export class NecordLavalinkModule
this.logger.log('Lavalink Manager Initialized');
});

this.client.on('raw', data => {
this.lavalinkManager.sendRawData(data);
});
this.client.on('raw', data => this.lavalinkManager.sendRawData(data));
}

public onApplicationShutdown() {
Expand Down

0 comments on commit d89020f

Please sign in to comment.