Fix missing gome expand in remove-directory command
This commit is contained in:
1 parent
d85598ce17
commit
431bf68e72
1 file changed
+1
-1
@@ -178,7 +178,7 @@ command.add(nil, {
|
|||||||
dir_list[n - i + 1] = core.project_directories[i].name
|
dir_list[n - i + 1] = core.project_directories[i].name
|
||||||
end
|
end
|
||||||
core.command_view:enter("Remove Directory", function(text, item)
|
core.command_view:enter("Remove Directory", function(text, item)
|
||||||
text = item and item.text or text
|
text = common.home_expand(item and item.text or text)
|
||||||
if not core.remove_project_directory(text) then
|
if not core.remove_project_directory(text) then
|
||||||
core.error("No directory %q to be removed", text)
|
core.error("No directory %q to be removed", text)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user