Skip to content

Commit a82e1ea

Browse files
committed
style: use simple variable assignment
Signed-off-by: Jonas Kuske <mail@jonaskuske.com>
1 parent cb374f0 commit a82e1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ func (re *Regexp) UnmarshalYAML(unmarshal func(any) error) error {
363363
}
364364

365365
func substituteEnvVariables(value string) (string, error) {
366-
var missingEnv = ""
366+
missingEnv := ""
367367
result := os.Expand(value, func(s string) string {
368368
v := os.Getenv(s)
369369
if v == "" && missingEnv == "" {

0 commit comments

Comments
 (0)