Skip to content

Commit e569295

Browse files
committed
Return empty string for env filter for Jinjava
1 parent 0f7defe commit e569295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/computate/frFR/java/ConfigSite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class ConfigSite {
9292

9393
public static String lookup(String type, String arg1) {
9494
if("env".equals(type))
95-
return System.getenv(arg1);
95+
return Optional.ofNullable(System.getenv(arg1)).orElse("");
9696
return null;
9797
}
9898

0 commit comments

Comments
 (0)