Skip to content

Commit

Permalink
Return empty string for env filter for Jinjava
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Dec 28, 2024
1 parent 0f7defe commit e569295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/computate/frFR/java/ConfigSite.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public class ConfigSite {

public static String lookup(String type, String arg1) {
if("env".equals(type))
return System.getenv(arg1);
return Optional.ofNullable(System.getenv(arg1)).orElse("");
return null;
}

Expand Down

0 comments on commit e569295

Please sign in to comment.