We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1953d24 commit 7c16dafCopy full SHA for 7c16daf
.golangci.yml
@@ -15,7 +15,6 @@ linters:
15
enable-all: true
16
disabled-checks:
17
- hugeParam
18
- - unlambda
19
revive:
20
rules:
21
- name: unused-parameter
config/config.go
@@ -361,9 +361,7 @@ func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error {
361
}
362
363
func substituteEnvVariables(value string) (string, error) {
364
- result := os.Expand(value, func(s string) string {
365
- return os.Getenv(s)
366
- })
+ result := os.Expand(value, os.Getenv)
367
if result == "" {
368
return "", errors.New(value + " environment variable not found")
369
0 commit comments