-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golangci-lint: add more linters #721
Conversation
56ed222
to
70c0cd8
Compare
Signed-off-by: Paul Meyer <[email protected]>
Signed-off-by: Paul Meyer <[email protected]>
70c0cd8
to
89cd524
Compare
…tion Signed-off-by: Paul Meyer <[email protected]>
89cd524
to
a803753
Compare
cur, ok := current[p].(map[string]any) | ||
if !ok || cur == nil { | ||
cur = make(map[string]any) | ||
current[p] = cur | ||
} | ||
current = current[p].(map[string]any) | ||
current = cur |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@burgerdev had to add this non-trivial fix, could you take a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good.
cur, ok := current[p].(map[string]any) | ||
if !ok || cur == nil { | ||
cur = make(map[string]any) | ||
current[p] = cur | ||
} | ||
current = current[p].(map[string]any) | ||
current = cur |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems good.
No description provided.