🐛 --changed throws No such file or directory when file is deleted #4952
Labels
A-CLI
Area: CLI
good first issue
Good for newcomers
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
git checkout main
echo "const a=1" > test.ts
git commit -m "1"
git checkout -b test
echo "const a=2" > test.ts
git commit -m "2"
mv test.ts test2.ts
npx biome check --changed
Expected result
Should not show an error
I get that
--changed
is supposed to be used in CI, but it can also be useful locally, e.g. for precommit checks. Probably it should treat uncommited local changes the same way as commitsCode of Conduct
The text was updated successfully, but these errors were encountered: