fix build issue

This commit is contained in:
Keagan McClelland
2021-09-23 15:59:27 -06:00
committed by Aiden McClelland
parent 0517e2d4e8
commit eaa04f1b8c

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();