mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
It's event.action, not event.type
This commit is contained in:
@@ -204,7 +204,7 @@ class Project extends Model {
|
||||
// // absolute path to the filesystem entry that was touched
|
||||
// console.log(`Event path: ${event.path}`)
|
||||
//
|
||||
// if (event.type === 'renamed') {
|
||||
// if (event.action === 'renamed') {
|
||||
// console.log(`.. renamed from: ${event.oldPath}`)
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user