Skip to content

Commit 318f0ac

Browse files
committedOct 18, 2021
rm unnecessary constructor
1 parent 52fc84d commit 318f0ac

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎lib/channel_model.js

-4
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,6 @@ Channel.prototype.prefetch = Channel.prototype.qos = function(count, global) {
270270
// its argument to signify 'nack'.
271271

272272
class ConfirmChannel extends Channel {
273-
constructor(connection) {
274-
super(connection);
275-
}
276-
277273
publish(exchange, routingKey, content, options, cb) {
278274
this.pushConfirmCallback(cb);
279275
return Channel.prototype.publish.call(this, exchange, routingKey, content, options);

0 commit comments

Comments
 (0)
Please sign in to comment.