Skip to content

Commit

Permalink
fix: rduplicate move lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Dec 16, 2024
1 parent b0177cc commit 8d2ae6d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/rspack_storage/src/pack/manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
};
}));

Expand Down

0 comments on commit 8d2ae6d

Please sign in to comment.