Skip to content

Commit

Permalink
Merge pull request #109 from jeff-kilbride/master
Browse files Browse the repository at this point in the history
Add explicit return in wrapPromise.
  • Loading branch information
BryanDonovan committed Oct 9, 2017
2 parents 053296d + 49e4d05 commit 0d4f9c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/caching.js
Expand Up @@ -50,6 +50,7 @@ var caching = function(args) {
.then(promise)
.then(function(result) {
cb(null, result);
return null;
})
.catch(cb);
}, options, function(err, result) {
Expand Down

0 comments on commit 0d4f9c2

Please sign in to comment.