Change sqishrc.yaml to sqishrc
This commit is contained in:
@ -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"));
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user