mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
shell.moveToTrash => shell.moveItemToTrash
This commit is contained in:
@@ -251,7 +251,7 @@ class TreeView extends ScrollView
|
||||
atom.confirm(
|
||||
"Are you sure you would like to delete the selected #{entryType}?",
|
||||
"You are deleting #{entry.getPath()}",
|
||||
"Move to Trash", (=> shell.moveToTrash(entry.getPath())),
|
||||
"Move to Trash", (=> shell.moveItemToTrash(entry.getPath())),
|
||||
"Cancel", null
|
||||
"Delete", (=> fsUtils.remove(entry.getPath()))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user