mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-03-02 09:53:12 +08:00
Remove assumption about root path (#209)
This commit is contained in:
parent
73caecc7f1
commit
08c4025bd7
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ defmodule LivebookWeb.PathSelectComponent do
|
|||
end)
|
||||
|
||||
file_infos =
|
||||
if dir == "/" do
|
||||
if Path.dirname(dir) == dir do
|
||||
file_infos
|
||||
else
|
||||
parent_dir = file_info(dir, "..", basename, running_paths)
|
||||
|
|
Loading…
Reference in a new issue