Skip to content

Commit

Permalink
fix: read only system variables for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
katerina20 committed Jun 11, 2024
1 parent 31a7fe1 commit e01c1ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static void setEnvOrPropertyIfExists(Consumer<String> setter, Map<String, Object
}

static void setEnvIfExists(Consumer<String> setter, String envKey) {
String param = getDotenv().get(envKey);
String param = System.getenv(envKey);
if (param != null) {
setter.accept(param);
}
Expand Down

0 comments on commit e01c1ca

Please sign in to comment.