Skip to content

Commit

Permalink
Merge pull request #4854 from davidwu226/master
Browse files Browse the repository at this point in the history
Fix warning from Bluebird about promises created but not returned.
  • Loading branch information
vkarpov15 authored Jan 4, 2017
2 parents 32208ba + 5a1129a commit f921d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2321,6 +2321,7 @@ Query.prototype.exec = function exec(op, callback) {
promise.then(
function() {
callback.apply(null, _results);
return null;
},
function(error) {
callback(error);
Expand Down

0 comments on commit f921d15

Please sign in to comment.