Compare commits

..

1 Commits

Author SHA1 Message Date
31add1984b fix env vars
All checks were successful
continuous-integration/drone/push Build is passing
2025-09-20 21:29:40 -04:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
cover.html
.DS_Store

View File

@@ -111,7 +111,7 @@ func GetVersion() string {
func getConfigValue(cmdFlags *pflag.FlagSet, def ConfigDef) string {
// 1. Get Flags First
if cmdFlags != nil {
if val, err := cmdFlags.GetString(def.Key); err == nil && val != "" {
if val, err := cmdFlags.GetString(def.Key); err == nil && val != "" && val != def.Default {
return val
}
}