folder canonical

This commit is contained in:
Dongdong Zhou 2021-10-26 10:42:25 +01:00
parent a6f37624b6
commit a338f49e19
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ pub fn run_workbench_command(
if let Some(folder) =
tinyfiledialogs::select_folder_dialog("Open folder", &dir)
{
let path = PathBuf::from(folder).canonicalize().unwrap();
let path = PathBuf::from(folder);
let workspace = LapceWorkspace {
kind: LapceWorkspaceType::Local,
path,