Skip to content

Commit

Permalink
Add some debug prints for Windows debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Jun 13, 2024
1 parent 9f76ec1 commit 0cbc590
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ruff_db/src/file_system/vendored.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ impl VendoredFileSystem {

impl FileSystem for VendoredFileSystem {
fn exists(&self, path: &FileSystemPath) -> bool {
dbg!(path);
let normalized = normalize_vendored_path(path);
dbg!(&normalized);
dbg!(self.vendored_archive().0.file_names().collect::<Vec<_>>());
self.vendored_archive().lookup_path(&normalized).is_ok()
|| (!normalized.has_trailing_slash()
&& self
Expand Down

0 comments on commit 0cbc590

Please sign in to comment.