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

Issue with go-mod-tidy pre-commit after using the progressbar #161

Open
vschoener opened this issue Mar 27, 2023 · 0 comments
Open

Issue with go-mod-tidy pre-commit after using the progressbar #161

vschoener opened this issue Mar 27, 2023 · 0 comments

Comments

@vschoener
Copy link

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
@vschoener 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
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