Skip to content

Commit

Permalink
remove unnecessary callback
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperlink committed May 11, 2017
1 parent cd054bc commit 179a88e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/test.consumerGroup.js
Expand Up @@ -811,12 +811,7 @@ describe('ConsumerGroup', function () {
function (callback) {
producer.close(callback);
}
], function (error) {
if (error) {
return done(error);
}
done(null, messages);
});
], done);
}

function confirmMessages (done) {
Expand Down

0 comments on commit 179a88e

Please sign in to comment.