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
After importing the package and working with it, I tried to commit and end up with this issue.
In our project, when we import a new package we use go mod tidy but for som reason the pre-commit does not like it.
Any idea why?
go version: 1.19
go-mod-tidy..............................................................Failed
- hook id: go-mod-tidy
- exit code: 1
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
go.mod or go.sum differs, please re-add it to your commit
The text was updated successfully, but these errors were encountered:
vschoener
changed the title
Issue with pre-commit after using the progressbar
Issue with go-mod-tidy pre-commit after using the progressbar
Mar 27, 2023
After importing the package and working with it, I tried to commit and end up with this issue.
In our project, when we import a new package we use
go mod tidy
but for som reason thepre-commit
does not like it.Any idea why?
go version: 1.19
The text was updated successfully, but these errors were encountered: