Skip to content

Commit

Permalink
Rename a method.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Aug 31, 2016
1 parent 0dfea50 commit 85df8a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fsevents-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function(watchPath, realPath, transform, globFilter) {
// * curDepth - int, level of subdirectories traversed to where symlink is

// Returns nothing
FsEventsHandler.prototype._fsEventsSymlink =
FsEventsHandler.prototype._handleFsEventsSymlink =
function(linkPath, fullPath, transform, curDepth) {
// don't follow the same symlink more than once
if (this._symlinkPaths[fullPath]) return;
Expand Down Expand Up @@ -359,7 +359,7 @@ function(path, transform, forceAdd, priorDepth) {
var curDepth = this.options.depth === undefined ?
undefined : depth(joinedPath, sysPath.resolve(wh.watchPath)) + 1;

this._fsEventsSymlink(joinedPath, fullPath, processPath, curDepth);
this._handleFsEventsSymlink(joinedPath, fullPath, processPath, curDepth);
} else {
emitAdd(joinedPath, entry.stat);
}
Expand Down

0 comments on commit 85df8a7

Please sign in to comment.