Skip to content

Commit

Permalink
default env fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Salceanu committed Feb 4, 2022
1 parent f9478aa commit ffb4840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SearchLight"
uuid = "340e8cb6-72eb-11e8-37ce-c97ebeb32050"
authors = ["Adrian Salceanu <[email protected]>"]
version = "2.1"
version = "2.1.1"

[deps]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function read_db_connection_data(db_settings_file::String) :: Dict{String,Any}

if haskey(db_conn_data, "env") && db_conn_data["env"] !== nothing
ENV["SEARCHLIGHT_ENV"] = if strip(uppercase(string(db_conn_data["env"]))) == """ENV["GENIE_ENV"]"""
ENV["GENIE_ENV"]
haskey(ENV, "GENIE_ENV") ? ENV["GENIE_ENV"] : DEV
else
db_conn_data["env"]
end
Expand Down

2 comments on commit ffb4840

@essenciary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/53936

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.1.1 -m "<description of version>" ffb4840fc1508a035390689f148ded0113c23487
git push origin v2.1.1

Please sign in to comment.