mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 13:48:55 +00:00
closes #8594
This is because previously, oxlintrc.path was determined by
`path.canonicalize().unwrap_or_else(|_| path.to_path_buf())`, but after
#8214, it was changed to `path.to_path_buf()`. As a result,
`\\?\D:\shulaoda` became `D:\shulaoda`. This caused the condition
`uri_path.starts_with(gitignore.path())` to evaluate as `true`,
preventing the bypass of the `is_ignore` check and exposing the original
code issue.
|
||
|---|---|---|
| .. | ||
| linter | ||
| capabilities.rs | ||
| main.rs | ||