From 8d2ae6d07e2976805a9b32993cc12999562d376c Mon Sep 17 00:00:00 2001 From: LingyuCoder Date: Mon, 16 Dec 2024 20:33:02 +0800 Subject: [PATCH] fix: rduplicate move lock files --- crates/rspack_storage/src/pack/manager/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/rspack_storage/src/pack/manager/mod.rs b/crates/rspack_storage/src/pack/manager/mod.rs index b1713e2a1be..b6dae30869f 100644 --- a/crates/rspack_storage/src/pack/manager/mod.rs +++ b/crates/rspack_storage/src/pack/manager/mod.rs @@ -91,13 +91,9 @@ impl ScopeManager { let _ = match res { Ok(new_scopes) => { let _ = std::mem::replace(&mut *scopes_lock, new_scopes); - println!("save scopes success"); tx.send(Ok(())) } - Err(e) => { - println!("save scopes failed {:?}", e); - tx.send(Err(e)) - } + Err(e) => tx.send(Err(e)), }; }));