You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a monorepo with a folder named /typescript and you run the biome command inside the /typescript folder it will try to access the changed files that are outside of the /typescript directory (even with vcsRoot set).
This emits Internal errors
yarn run biome check --since origin/main --changed --vcs-root .. --vcs-enabled true --no-errors-on-unmatched .",
PWD: /Users/valkum/git/projects/x/typescript
typescript/scripts/ci-check.sh internalError/io INTERNAL ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ No such file or directory (os error 2)
⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Checked 0 files in 710µs. No fixes needed.
Expected result
The paths of the changed files should be compared against the current working directory and updated and filtered before accessed.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
From what I see, this bug also applies as well to the --staged feature I proposed ( #2300 ) (I already verified it, it fails because of the same reason).
Is anyone working on this one? I can prepare a fix for this one, as I already familiarised myself with that part of the code base.
castarco
added a commit
to kindspells/forked-biome
that referenced
this issue
Apr 5, 2024
When running `lint`, `check` or `format` with the flag `--changed`,
ensure that files outside the current directory are filtered out before
processing them.
Signed-off-by: Andres Correa Casablanca <[email protected]>
Environment information
What happened?
If you have a monorepo with a folder named
/typescript
and you run the biome command inside the /typescript folder it will try to access the changed files that are outside of the/typescript
directory (even with vcsRoot set).This emits Internal errors
Expected result
The paths of the changed files should be compared against the current working directory and updated and filtered before accessed.
Code of Conduct
The text was updated successfully, but these errors were encountered: