Open chriskoelle opened 2 years ago
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
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 repo