Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 15, 2024
1 parent 36d4856 commit abc9968
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 abc9968

Please sign in to comment.