Skip to content

Commit

Permalink
style: remove async from startServer method
Browse files Browse the repository at this point in the history
  • Loading branch information
OsirisAnubiz committed Nov 5, 2024
1 parent db17755 commit 92da2f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nestjs-connectrpc/src/connectrpc.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export class HTTPServer {
)
}

async startServer(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/promise-function-async
startServer(): Promise<void> {
return new Promise((resolve, reject) => {
switch (this.options.protocol) {
case ServerProtocol.HTTP: {
Expand Down

0 comments on commit 92da2f4

Please sign in to comment.