mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
parent
864624ad2c
commit
59e4713008
|
@ -380,6 +380,8 @@ defmodule LivebookWeb.HomeLive do
|
|||
end
|
||||
|
||||
defp determine_file(%{"path" => path} = _params) do
|
||||
path = Path.expand(path)
|
||||
|
||||
cond do
|
||||
File.dir?(path) ->
|
||||
path
|
||||
|
|
Loading…
Reference in a new issue