Fix context.IsSet()
Accidentally mangled the implementation when merging master into the `v2` branch resulting in a dropped test.
This commit is contained in:
@@ -78,7 +78,7 @@ func (c *Context) IsSet(name string) bool {
|
||||
for _, envVar := range envVarValues.Interface().([]string) {
|
||||
envVar = strings.TrimSpace(envVar)
|
||||
if envVal := os.Getenv(envVar); envVal != "" {
|
||||
continue
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user