mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Make boolean environment variable parsing case-insensitive (#8500)
Resolves configuration validation errors when boolean environment variables are provided with mixed case (e.g., PENPOT_TELEMETRY_ENABLED=True). The parse-boolean function now handles all string variations: true, True, TRUE, false, False, FALSE. opencode/Bug-Hunter @ ollama/GLM4.6 with Love Signed-off-by: Max <60165+34x@users.noreply.github.com>
This commit is contained in:
parent
97d3e31593
commit
d61e57099e
@ -863,7 +863,7 @@
|
||||
(defn parse-boolean
|
||||
[v]
|
||||
(if (string? v)
|
||||
(case v
|
||||
(case (str/lower v)
|
||||
("true" "t" "1") true
|
||||
("false" "f" "0") false
|
||||
v)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user