Skip to content

Commit

Permalink
remove unnecessary return from unbindQueue func
Browse files Browse the repository at this point in the history
  • Loading branch information
xfd1387 committed Feb 13, 2023
1 parent 0902dfd commit f126b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChannelWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
if (this._channel) {
return await this._channel.unbindQueue(queue, source, pattern, args);
await this._channel.unbindQueue(queue, source, pattern, args);
}
}

Expand Down

0 comments on commit f126b1c

Please sign in to comment.