Skip to content

Commit 3a6409c

Browse files
committedOct 18, 2021
mv exports to bottom
1 parent 318f0ac commit 3a6409c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎lib/channel_model.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ class ChannelModel extends EventEmitter {
4141
}
4242
}
4343

44-
module.exports.ChannelModel = ChannelModel;
45-
4644
// Channels
4745

4846
class Channel extends BaseChannel {
@@ -249,8 +247,6 @@ class Channel extends BaseChannel {
249247
}
250248
}
251249

252-
module.exports.Channel = Channel;
253-
254250
// There are more options in AMQP than exposed here; RabbitMQ only
255251
// implements prefetch based on message count, and only for individual
256252
// channels or consumers. RabbitMQ v3.3.0 and after treat prefetch
@@ -300,3 +296,5 @@ class ConfirmChannel extends Channel {
300296
}
301297

302298
module.exports.ConfirmChannel = ConfirmChannel;
299+
module.exports.Channel = Channel;
300+
module.exports.ChannelModel = ChannelModel;

0 commit comments

Comments
 (0)
Please sign in to comment.