gojp / goreportcard

A report card for your Go application
https://goreportcard.com
Apache License 2.0
2.01k stars 249 forks source link

ineffassign check not reproducible locally #393

Open tagatac opened 2 years ago

tagatac commented 2 years ago

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