mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-08 20:46:16 +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)
|
end)
|
||||||
|
|
||||||
file_infos =
|
file_infos =
|
||||||
if dir == "/" do
|
if Path.dirname(dir) == dir do
|
||||||
file_infos
|
file_infos
|
||||||
else
|
else
|
||||||
parent_dir = file_info(dir, "..", basename, running_paths)
|
parent_dir = file_info(dir, "..", basename, running_paths)
|
||||||
|
|
Loading…
Add table
Reference in a new issue