mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Rename local variable
/xref: https://github.com/atom/atom/pull/15898#discussion_r144850427
This commit is contained in:
@@ -346,9 +346,9 @@ class Project extends Model {
|
||||
}
|
||||
})
|
||||
|
||||
for (let path in this.watcherPromisesByPath) {
|
||||
if (!this.rootDirectories.find(dir => dir.getPath() === path)) {
|
||||
this.watcherPromisesByPath[path].then(watcher => { watcher.dispose() })
|
||||
for (let watchedPath in this.watcherPromisesByPath) {
|
||||
if (!this.rootDirectories.find(dir => dir.getPath() === watchedPath)) {
|
||||
this.watcherPromisesByPath[watchedPath].then(watcher => { watcher.dispose() })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user