Don't open browser after starting the server unless explicitly asked (#1011)

This commit is contained in:
Jonatan Kłosko 2022-02-18 17:27:36 +01:00 committed by GitHub
parent d775908a48
commit fb9c4fbef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,8 +156,8 @@ defmodule LivebookCLI.Server do
end
end
defp open_from_args(base_url, []) do
Livebook.Utils.browser_open(base_url)
defp open_from_args(_base_url, []) do
:ok
end
defp open_from_args(base_url, ["new"]) do