We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running yarn install --force after installing pre-commit causes the pre-commit.old backup to get overwritten by the pre-commit file from this repo
yarn install --force
pre-commit
pre-commit.old
#!/bin/bash echo "Hello World" && exit 0
yarn add pre-commit
force
One or both of these options would work:
pre-commit.old-2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running
yarn install --force
after installingpre-commit
causes thepre-commit.old
backup to get overwritten by thepre-commit
file from this repoSteps to Reproduce
yarn add pre-commit
pre-commit
file is backed up topre-commit.old
force
flagyarn install --force
Actual Result
pre-commit.old
backup contents are overwritten with the pre-commit content from this repoExpected Result
One or both of these options would work:
pre-commit.old
already exists (e.g.pre-commit.old-2
)pre-commit
matches the pre-commit content from this repoThe text was updated successfully, but these errors were encountered: