helpers/settings.go
Method Settings.InitSettings
has 71 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (s *Settings) InitSettings(envVars *env.VarSet) (retErr error) {
defer func() {
// While .MustString() is convenient in readability below, we'd prefer
// to convert this to an error for upstream callers.
if r := recover(); r != nil {
Method Settings.InitSettings
has 6 return statements (exceeds 4 allowed). Open
Open
func (s *Settings) InitSettings(envVars *env.VarSet) (retErr error) {
defer func() {
// While .MustString() is convenient in readability below, we'd prefer
// to convert this to an error for upstream callers.
if r := recover(); r != nil {