Skip to content

Commit a57a353

Browse files
jimmywartingcressie176
authored andcommitted
rm unnecessary constructor
1 parent 71f649b commit a57a353

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/channel_model.js

Lines changed: 0 additions & 4 deletions
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)