mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-13 16:34:45 +08:00
Say Connect for runtime if there is no connection
This commit is contained in:
parent
964f4b04d1
commit
e92d9910fa
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ defmodule LivebookWeb.SessionLive.ElixirStandaloneLive do
|
|||
"""
|
||||
end
|
||||
|
||||
defp matching_runtime?(%Runtime.ElixirStandalone{}), do: true
|
||||
defp matching_runtime?(%Runtime.ElixirStandalone{} = runtime), do: Runtime.connected?(runtime)
|
||||
defp matching_runtime?(_runtime), do: false
|
||||
|
||||
@impl true
|
||||
|
|
Loading…
Add table
Reference in a new issue