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

Setting rev: master is no longer supported #26

Open
ofersadan85 opened this issue Jan 16, 2023 · 0 comments
Open

Setting rev: master is no longer supported #26

ofersadan85 opened this issue Jan 16, 2023 · 0 comments

Comments

@ofersadan85
Copy link

Following the readme in this repo, I get the following error:

The 'rev' field of repo 'https://github.com/doublify/pre-commit-rust' appears to be a mutable reference (moving tag / branch). Mutable references are never updated after first install and are not supported. See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details. Hint: pre-commit autoupdate often fixes this.

Doing the recommended step fixes this:

pre-commit autoupdate

Which sets the hook to rev: v1.0 so I guess the readme needs to be updated to include this?

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