Change sqishrc.yaml to sqishrc

This commit is contained in:
Justine
2023-02-20 17:42:01 +01:00
parent e3b5edc3e7
commit 91955d1252
4 changed files with 72 additions and 20 deletions

View File

@ -25,12 +25,12 @@ impl SqishConf {
return Err(String::from("Home dir could not be determined."));
},
};
conf_path.push(".sqishrc.yaml");
conf_path.push(".sqishrc");
let sqishrc_file = match fs::read_to_string(conf_path) {
Ok(s) => s,
Err(_) => {
return Err(String::from("Could not read ~/.sqishrc.yaml"));
return Err(String::from("Could not read ~/.sqishrc"));
},
};