Fix missing absolute_path call in change-project-folder command

This commit is contained in:
Francesco Abbate
2020-12-30 14:40:03 +01:00
parent b91a84eb56
commit 7280ae47ab
+1 -1
View File
@@ -141,7 +141,7 @@ command.add(nil, {
["core:change-project-folder"] = function() ["core:change-project-folder"] = function()
core.command_view:enter("Change Project Folder", function(text) core.command_view:enter("Change Project Folder", function(text)
text = common.home_expand(text) text = system.absolute_path(common.home_expand(text))
local path_stat = system.get_file_info(text) local path_stat = system.get_file_info(text)
if not path_stat or path_stat.type ~= 'dir' then if not path_stat or path_stat.type ~= 'dir' then
core.error("Cannot open folder %q", text) core.error("Cannot open folder %q", text)