Skip to content

Commit b9304d2

Browse files
committed
Forgot to bind.
1 parent fd47240 commit b9304d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Package.prototype.cleanUpLocal = function () {
249249
fileExists(this.gitPath, function (exists) {
250250
if (!exists) return next();
251251
fs.writeFile(path.join(this.gitPath, this.localConfig.json), jsonStr, next);
252-
});
252+
}.bind(this));
253253
}.bind(this)
254254
}, function (err) {
255255
if (err) return this.emit('error', err);

0 commit comments

Comments
 (0)