diff --git a/src/GenieExtras.jl b/src/GenieExtras.jl index a46484bba044b81b36cb6355bc49ea1cf36bbd96..53ca6eb3c9bf6fe4194c3dcb8002f39ccc06538b 100644 --- a/src/GenieExtras.jl +++ b/src/GenieExtras.jl @@ -36,8 +36,8 @@ function footer() version = version[1:end-2] end versionfile = joinpath(@__DIR__, "version.txt") - version = if isfile(versionfile) - join((version, readchomp(versionfile)), "-") + if isfile(versionfile) + version = join((version, readchomp(versionfile)), "-") end tagurl = "https://gitlab.com/dbc-nyx/NyxUI.jl/-/tags" Html.footer("NyxUI.jl <a href=\"$tagurl\">v$version</a>")