Skip to content
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

fix: refine lock related error message #189

Merged
merged 1 commit into from
Sep 5, 2024

fix: refine lock related error message

f5c3c7c
Select commit
Loading
Failed to load commit list.
Merged

fix: refine lock related error message #189

fix: refine lock related error message
f5c3c7c
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Sep 5, 2024 in 2s

1 issue found.

Annotations

Check notice on line 216 in lock.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

lock.go#L216

If block ends with a return statement, so drop this else and outdent its block. (indent-error-flow)