to improve readability Signed-off-by: Alejandro Mery <amery@jpi.io>
@ -117,8 +117,12 @@ func (m *Env) writeEnvVar(w io.Writer, value string, name string, args ...any) {
if name != "" {
value = strings.TrimSpace(value)
if value == "" {
_, _ = fmt.Fprintf(w, "%s%s=\n", prefix, name)
} else {
_, _ = fmt.Fprintf(w, "%s%s=%q\n", prefix, name, value)
}
func genEnvZoneNodes(z *Zone) string {