fix build issue

This commit is contained in:
Keagan McClelland
2021-09-23 15:59:27 -06:00
parent 39435f913b
commit 99a0ec7ff5

View File

@@ -45,7 +45,7 @@ impl Drop for CliContextSeed {
File::create(&tmp).unwrap(), File::create(&tmp).unwrap(),
fd_lock_rs::LockType::Exclusive, fd_lock_rs::LockType::Exclusive,
true, true,
); )?;
let store = self.cookie_store.lock().unwrap(); let store = self.cookie_store.lock().unwrap();
store.save_json(&mut writer).unwrap(); store.save_json(&mut writer).unwrap();
writer.sync_all().unwrap(); writer.sync_all().unwrap();