Skip to content

Commit

Permalink
Update lib/livebook/config.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
jonatanklosko and josevalim authored Oct 17, 2023
1 parent 141b95a commit e04a5a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/livebook/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ defmodule Livebook.Config do
@doc """
Returns the current version of running Livebook.
"""
def app_version(), do: Mix.Project.config()[:version]
@app_version Mix.Project.config()[:version]
def app_version(), do: @app_version

defp parse_connection_config!(config) do
{node, cookie} = split_at_last_occurrence(config, ":")
Expand Down

0 comments on commit e04a5a7

Please sign in to comment.