Skip to content

Commit 58f3316

Browse files
fix(boundaries): unnecessary tsconfig warnings (#10104)
### Description Accidentally made it warn when we can't find a tsconfig in *any* directory. Now we only warn for other errors ### Testing Instructions <!-- Give a quick description of steps to test your changes. -->
1 parent 4cc71ef commit 58f3316

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/turborepo-lib/src/boundaries/tsconfig.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{collections::HashMap, sync::Arc};
22

3-
use oxc_resolver::{Resolver, TsConfigSerde};
3+
use oxc_resolver::{ResolveError, Resolver, TsConfigSerde};
44
use turbopath::{AbsoluteSystemPath, AbsoluteSystemPathBuf};
55

66
use crate::boundaries::BoundariesResult;
@@ -32,6 +32,8 @@ impl<'a> TsConfigLoader<'a> {
3232
self.configs.insert(dir.to_owned(), config.clone());
3333
return Some(config);
3434
}
35+
// Just means tsconfig is not found in this directory, so we can ignore it
36+
Err(ResolveError::TsconfigNotFound(_)) => {}
3537
Err(err) => {
3638
result
3739
.warnings

0 commit comments

Comments
 (0)