Skip to content

Commit 435f942

Browse files
committed
fix: fix this refrence bug
1 parent 2acb82c commit 435f942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cluster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ module.exports = function (OssClient) {
215215
};
216216

217217
proto._createCallback = function _createCallback(ctx, gen, cb) {
218-
return function () {
218+
return () => {
219219
cb = cb || this._error;
220220
gen.call(ctx).then(() => {
221221
cb();

0 commit comments

Comments
 (0)