mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
#20174 removed the option and unwrap
This commit is contained in:
parent
476a0764f5
commit
415c43e226
4 changed files with 11 additions and 12 deletions
|
@ -184,7 +184,7 @@ pub fn add_user_prefs() {
|
|||
init_user_prefs(&mut path);
|
||||
}
|
||||
None => {
|
||||
let mut path = default_config_dir().unwrap();
|
||||
let mut path = default_config_dir();
|
||||
if path.join("prefs.json").exists() {
|
||||
init_user_prefs(&mut path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue