Skip to content

Commit

Permalink
Update name of path-property in new TreeView event
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis committed Mar 30, 2017
1 parent 441ceab commit 54694c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/consumers/tree-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TreeView extends Consumer {
// TODO: Remove check when/if atom/tree-view#966 is merged/shipped
if("function" === typeof this.element.onEntryMoved){
const onMove = this.element.onEntryMoved(paths => {
FileSystem.updatePath(paths.oldPath, paths.newPath);
FileSystem.updatePath(paths.initialPath, paths.newPath);
});
this.disposables.add(onMove);
}
Expand Down

0 comments on commit 54694c4

Please sign in to comment.