Merge pull request #1045 from junket/allow-false-env-var-value

Allow false env var value
This commit is contained in:
Donal McBreen
2024-10-23 11:11:43 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ module Kamal::Utils
attr = "#{key}=#{escape_shell_value(value)}"
attr = self.sensitive(attr, redaction: "#{key}=[REDACTED]") if sensitive
[ argument, attr ]
elsif value == false
[ argument, "#{key}=false" ]
else
[ argument, key ]
end