mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix yabridgectl config file loading
This commit is contained in:
@@ -64,7 +64,7 @@ impl Config {
|
||||
/// Try to read the config file, creating a new default file if necessary. This will fail if the
|
||||
/// file could not be created or if it could not be parsed.
|
||||
pub fn read() -> Result<Config, String> {
|
||||
match yabridge_directories()?.find_config_file(CONFIG_FILE_NAME) {
|
||||
match yabridgectl_directories()?.find_config_file(CONFIG_FILE_NAME) {
|
||||
Some(path) => {
|
||||
let toml_str = fs::read_to_string(&path).map_err(|err| {
|
||||
format!(
|
||||
|
||||
Reference in New Issue
Block a user