Open artola opened 3 days ago
Hello @artola, please provide a minimal reproduction. You can use one of the following options:
npm create @biomejs/biome-reproduction
Issues marked with S-Needs repro
will be closed if they have no activity within 3 days.
@dyc3 Here the repro. It is easy to test in any project, basically:
yarn format --write --since $(git rev-parse HEAD)
When using --changed
plus --since
no files are formatted (even if I did introduce some changes):
format --changed --since HEAD
While this shows changed files:
git diff --name-only HEAD
Environment information
What happened?
yarn biome format --write --since 23fc81eac83b727f1a2e82570e6fb67e755c7ec0
throws an error:Repro: https://github.com/artola/biome-issue-4225
Expected result
Just re-run the command over the changed files from that hash (
git rev-parse HEAD
).Code of Conduct