Skip to content

Commit

Permalink
fix: fix this refrence bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhang002 committed Dec 10, 2018
1 parent 2acb82c commit 435f942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ module.exports = function (OssClient) {
};

proto._createCallback = function _createCallback(ctx, gen, cb) {
return function () {
return () => {
cb = cb || this._error;
gen.call(ctx).then(() => {
cb();
Expand Down

0 comments on commit 435f942

Please sign in to comment.