mirror of
https://github.com/atom/atom.git
synced 2026-01-14 17:38:03 -05:00
There's no modifyEvent there
This commit is contained in:
@@ -505,9 +505,9 @@ class PathWatcher {
|
||||
if (srcWatched && destWatched) {
|
||||
filtered.push(modifyEvent(event))
|
||||
} else if (srcWatched && !destWatched) {
|
||||
filtered.push({action: 'deleted', kind: event.kind, path: modifyPath(event.oldPath)})
|
||||
filtered.push({action: 'deleted', kind: event.kind, path: event.oldPath})
|
||||
} else if (!srcWatched && destWatched) {
|
||||
filtered.push({action: 'created', kind: event.kind, path: modifyPath(event.path)})
|
||||
filtered.push({action: 'created', kind: event.kind, path: event.path})
|
||||
}
|
||||
} else {
|
||||
if (isWatched(event.path)) {
|
||||
|
||||
Reference in New Issue
Block a user