Skip to content

Commit

Permalink
Re-add callback(err) call if no cancelWait()
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Nov 7, 2015
1 parent 0274e07 commit 861451e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ FSWatcher.prototype._awaitWriteFinish = function(path, threshold, callback) {
if (this._pendingWrites[path]) {
return this._pendingWrites[path].cancelWait();
}
return;
return callback(err);
}

var now = new Date();
Expand Down

0 comments on commit 861451e

Please sign in to comment.