Skip to content

Commit ade4561

Browse files
committed
Don't unwrap mutex lock in headless testing
We don't worry about poisoning and it causes too many test failures if it's turned on!
1 parent 2b5dd43 commit ade4561

File tree

1 file changed

+1
-1
lines changed
  • crates/test-project-builder/src

1 file changed

+1
-1
lines changed

crates/test-project-builder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl Project {
677677
lazy_static! {
678678
static ref MUTEX: Mutex<()> = Mutex::new(());
679679
}
680-
let _lock = MUTEX.lock().unwrap();
680+
let _lock = MUTEX.lock();
681681

682682
let mut cmd = self.npm();
683683
cmd.arg("run")

0 commit comments

Comments
 (0)