diff --git a/src/index.js b/src/index.js index 8589a671..242c6f48 100644 --- a/src/index.js +++ b/src/index.js @@ -100,9 +100,12 @@ function conventionalGithubReleaser(auth, changelogOpts, context, gitRawCommitsO cb(); }, function() { - Q.allSettled(promises) + Q.all(promises) .then(function(responses) { - setImmediate(userCb, null, responses); + userCb(null, responses); + }) + .catch(function(err) { + userCb(err); }); })); })