Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit c37ef1f

Browse files
author
Gabriel Castro
committed
lint
1 parent 95811ae commit c37ef1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,21 @@ function adapter(uri, opts, onNamespaceInitializedCallback)
124124
amqpChannel = ch;
125125
return amqpChannel.assertExchange(this.amqpExchangeName, 'direct', amqpExchangeOptions);
126126
})
127-
.then(() => {
127+
.then(() =>
128+
{
128129
if (!opts.useInputExchange)
129130
{
130131
return;
131132
}
132133
return amqpChannel.assertExchange(this.amqpInputExchangeName, 'fanout', amqpExchangeOptions);
133134
})
134-
.then(() => {
135+
.then(() =>
136+
{
135137
if (!opts.useInputExchange)
136138
{
137139
return;
138140
}
139-
return amqpChannel.bindExchange(this.amqpExchangeName, this.amqpInputExchangeName)
141+
return amqpChannel.bindExchange(this.amqpExchangeName, this.amqpInputExchangeName);
140142
})
141143
.catch(err =>
142144
{

0 commit comments

Comments
 (0)