Skip to content

Commit 012a079

Browse files
committed
check
1 parent ace8fd5 commit 012a079

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

turbopack/crates/turbopack-cli/src/build/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,7 @@ async fn build_internal(
199199
target: Target,
200200
) -> Result<Vc<()>> {
201201
let output_fs = output_fs(project_dir.clone());
202-
let project_fs = project_fs(
203-
root_dir.clone(),
204-
/** watch= */
205-
false,
206-
);
202+
let project_fs = project_fs(root_dir.clone(), /* watch= */ false);
207203
let project_relative = project_dir.strip_prefix(&*root_dir).unwrap();
208204
let project_relative: RcStr = project_relative
209205
.strip_prefix(MAIN_SEPARATOR)

turbopack/crates/turbopack-cli/src/dev/mod.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,7 @@ async fn source(
264264
.into();
265265

266266
let output_fs = output_fs(project_dir);
267-
let fs: Vc<Box<dyn FileSystem>> = project_fs(
268-
root_dir,
269-
/** watch= */
270-
true,
271-
);
267+
let fs: Vc<Box<dyn FileSystem>> = project_fs(root_dir, /* watch= */ true);
272268
let root_path = fs.root().to_resolved().await?;
273269
let project_path = root_path.join(project_relative).to_resolved().await?;
274270

0 commit comments

Comments
 (0)