Skip to content

Commit

Permalink
Use FSS.Local.from_path/1
Browse files Browse the repository at this point in the history
  • Loading branch information
philss committed Aug 22, 2023
1 parent 0f4e94f commit 7866cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kino/fs.ex
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defmodule Kino.FS do
end

defp file_spec_to_fss(%{type: :local} = file_spec) do
%FSS.Local.Entry{path: file_spec.path}
FSS.Local.from_path(file_spec.path)
end

defp file_spec_to_fss(%{type: :url} = file_spec) do
Expand Down

0 comments on commit 7866cfb

Please sign in to comment.