Update cmd/config.go

This commit is contained in:
Henrique Dias 2025-12-28 22:04:49 +01:00 committed by GitHub
parent 9310f5b8be
commit 4d9bdf732a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,7 +99,7 @@ func getProxyAuth(flags *pflag.FlagSet, defaultAuther map[string]interface{}) (a
return nil, err
}
if header == "" && defaultAuther != nil{
if header == "" && defaultAuther != nil {
header = defaultAuther["header"].(string)
}