From f126b1ce29eec38ae0d34afc73820939e8948cc7 Mon Sep 17 00:00:00 2001 From: xfd1387 Date: Mon, 13 Feb 2023 14:40:51 +0200 Subject: [PATCH] remove unnecessary return from unbindQueue func --- src/ChannelWrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChannelWrapper.ts b/src/ChannelWrapper.ts index ccc6f88..241b41d 100644 --- a/src/ChannelWrapper.ts +++ b/src/ChannelWrapper.ts @@ -882,7 +882,7 @@ export default class ChannelWrapper extends EventEmitter { // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types async unbindQueue(queue: string, source: string, pattern: string, args?: any): Promise { if (this._channel) { - return await this._channel.unbindQueue(queue, source, pattern, args); + await this._channel.unbindQueue(queue, source, pattern, args); } }