Skip to content

Commit 823e638

Browse files
committed
Fix variable name for delete command
1 parent c3ac36b commit 823e638

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced_new_file/commands/delete_file_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _delete_file(self, filepath):
5656
else:
5757
self.window.run_command("delete_file", {"files": [filepath]})
5858

59-
file_view = self._find_open_file(self.rename_filename)
59+
file_view = self._find_open_file(filepath)
6060
if file_view is not None:
6161
file_view.set_scratch(True)
6262
window.focus_view(file_view)

0 commit comments

Comments
 (0)