You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the staticcheck commit hook is run, it will be run against code that in the go module cache, not the code that is actually in the vitess repo. And it seems to be running against a specific version of vitess in that module cache.
The error reporting always points to files in ~/pkg/mod/github.com/vitessio/vitess@v2.1.1+incompatible/ which is the code I'm currently running on.
The text was updated successfully, but these errors were encountered:
jmhodges
changed the title
staticcheck commit hook runs against wringe code
staticcheck commit hook runs against wrong code
Jan 24, 2020
When the staticcheck commit hook is run, it will be run against code that in the go module cache, not the code that is actually in the vitess repo. And it seems to be running against a specific version of vitess in that module cache.
The error reporting always points to files in
~/pkg/mod/github.com/vitessio/vitess@v2.1.1+incompatible/
which is the code I'm currently running on.The text was updated successfully, but these errors were encountered: