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!
This commit is contained in:
Alex Crichton 2018-07-09 14:55:55 -07:00
parent 2b5dd430a8
commit ade4561eba

View File

@ -677,7 +677,7 @@ impl Project {
lazy_static! {
static ref MUTEX: Mutex<()> = Mutex::new(());
}
let _lock = MUTEX.lock().unwrap();
let _lock = MUTEX.lock();
let mut cmd = self.npm();
cmd.arg("run")