Skip to content

Commit

Permalink
refactor: Remove extra Promise.resolve().
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Walton committed Apr 1, 2019
1 parent b377b89 commit 9e46aa6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/AmqpConnectionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export default class AmqpConnectionManager extends EventEmitter {
// so no need to call #close here
// also, 'close' is emitted after 'error',
// so no need for work already done in 'close' handler
return Promise.resolve();
});

// Reconnect if the connection closes
Expand Down

0 comments on commit 9e46aa6

Please sign in to comment.