Some nolints.

This commit is contained in:
2020-11-21 21:35:06 +05:00
parent 9c47d00044
commit 28ada80b4c
3 changed files with 7 additions and 4 deletions

1
sec.go
View File

@@ -43,6 +43,7 @@ func Parse(structure interface{}, config *Options) error {
log.Printf("Invalid '%s' environment variable data: '%s'. Error: %s", debugFlagEnvName, debugFlagRaw, err.Error())
if options.ErrorsAreCritical {
// nolint
return err
}
} else {