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

ineffassign check not reproducible locally #393

Open
tagatac opened this issue Jul 17, 2022 · 0 comments
Open

ineffassign check not reproducible locally #393

tagatac opened this issue Jul 17, 2022 · 0 comments

Comments

@tagatac
Copy link

tagatac commented Jul 17, 2022

https://goreportcard.com/report/github.com/tagatac/bagoup reports

IneffAssign detects ineffectual assignments in Go code.

bagoup/main_test.go
Line 15: warning: no required module provides package github.com/tagatac/bagoup/chatdb/mock_chatdb; to add it: (ineffassign)
Line 17: warning: no required module provides package github.com/tagatac/bagoup/opsys/mock_opsys; to add it: (ineffassign)
Line 15: warning: could not import github.com/tagatac/bagoup/chatdb/mock_chatdb (invalid package name: "") (ineffassign)
Line 17: warning: could not import github.com/tagatac/bagoup/opsys/mock_opsys (invalid package name: "") (ineffassign)

but when I run it locally, I don't get any output:

~/C/bagoup ❯❯❯ ineffassign ./...
~/C/bagoup ❯❯❯ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant