Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 4, 2024
1 parent 733d42a commit c736b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/napi/src/next_api/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ pub async fn project_new(
let turbo_tasks = create_turbo_tasks(PathBuf::from(&options.dist_dir), memory_limit)?;
#[cfg(not(feature = "new-backend"))]
{
use std::io::Write;
let stats_path = std::env::var_os("NEXT_TURBOPACK_TASK_STATISTICS");
if let Some(stats_path) = stats_path {
let task_stats = turbo_tasks.backend().task_statistics().enable().clone();
Expand Down

0 comments on commit c736b0d

Please sign in to comment.