Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Feb 24, 2025
1 parent cff984e commit 985e707
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ notify = "6.1.1"
num_cpus = "1.15.0"
once_cell = "1.17.1"
owo-colors = "3.5.0"
oxc_resolver = { git = "https://github.com/nicholaslyang/oxc-resolver", branch = "symlink-hotfix-again" }
oxc_resolver = "4.2.0"
parking_lot = "0.12.1"
path-clean = "1.0.1"
pathdiff = "0.2.1"
Expand Down
7 changes: 0 additions & 7 deletions crates/turbo-trace/src/tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ impl Tracer {
futures.spawn(async move {
let file_resolver = Self::infer_resolver_with_ts_config(&file, &resolver);
let resolver = file_resolver.as_ref().unwrap_or(&resolver);
eprintln!("file: {:?}", shared_self.cwd.anchor(&file));
let mut errors = Vec::new();

let Some((imported_files, seen_file)) = Self::get_imports_from_file(
Expand All @@ -451,14 +450,9 @@ impl Tracer {
)
.await
else {
eprintln!("failed to get imports from file");
return (errors, None);
};

if imported_files.is_empty() {
eprintln!("no imports found for {}", file);
}

for mut import in imported_files {
if cfg!(windows) {
match import.to_realpath() {
Expand All @@ -467,7 +461,6 @@ impl Tracer {
}
Err(err) => {
errors.push(TraceError::PathError(Arc::new(err)));
eprintln!("failed to canonicalize import: {}", import);
return (errors, None);
}
}
Expand Down

0 comments on commit 985e707

Please sign in to comment.