Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump compat of LoweredCodeUtils and DotEnv #712

Merged
merged 4 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
bump compat of LoweredCodeUtils and DotEnv
hhaensel committed Apr 23, 2024
commit 1bbdd9175896b92d8ceb435177d7ea9fda3af0e6
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ ArgParse = "1"
Base64 = "1.6"
Dates = "1.6"
Distributed = "1.6"
DotEnv = "0.3"
DotEnv = "1"
EzXML = "1"
FilePathsBase = "0.9"
HTTP = "1"
@@ -52,7 +52,7 @@ JSON3 = "1"
JuliaFormatter = "1"
Logging = "1.6"
LoggingExtras = "1"
LoweredCodeUtils = "=2.3.2"
LoweredCodeUtils = "2.4.5"
MIMEs = "0.1"
Markdown = "1.6"
Millboard = "0.2"
3 changes: 1 addition & 2 deletions src/Loader.jl
Original file line number Diff line number Diff line change
@@ -91,8 +91,7 @@ Loads .env file if present
"""
function load_dotenv()
if isfile(Genie.config.env_file)
# DotEnv.load!(Genie.config.env_file; override = true) #TODO: enable this when DotEnv.jl is updated
DotEnv.config(; path = Genie.config.env_file, override = true)
DotEnv.load!(Genie.config.env_file; override = true)
end

nothing
2 changes: 1 addition & 1 deletion test/tests_1_config.jl
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@

Genie.config.server_port = 8000
Genie.config.server_host = "127.0.0.1"
Genie.config.websockets_port = 8000
Genie.config.websockets_port = nothing
Genie.config.run_as_server = false

down()