mirror of
https://github.com/silicoflare/envy.git
synced 2026-05-26 11:49:52 +05:30
fix: invert comment logic
This commit is contained in:
@@ -105,7 +105,7 @@ func ParseEnv(env string) string {
|
|||||||
value = matches[4] // unquoted value
|
value = matches[4] // unquoted value
|
||||||
}
|
}
|
||||||
var comment = ""
|
var comment = ""
|
||||||
if enabled {
|
if !enabled {
|
||||||
comment = "# "
|
comment = "# "
|
||||||
}
|
}
|
||||||
envs += fmt.Sprintf("%v%v=%v\n", comment, key, value)
|
envs += fmt.Sprintf("%v%v=%v\n", comment, key, value)
|
||||||
|
|||||||
Reference in New Issue
Block a user