mirror of
https://github.com/silicoflare/envy.git
synced 2026-05-26 19:57:59 +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
|
||||
}
|
||||
var comment = ""
|
||||
if enabled {
|
||||
if !enabled {
|
||||
comment = "# "
|
||||
}
|
||||
envs += fmt.Sprintf("%v%v=%v\n", comment, key, value)
|
||||
|
||||
Reference in New Issue
Block a user