diff --git a/crates/komorebi-config/src/static_config.rs b/crates/komorebi-config/src/static_config.rs index b08e339f..109e040f 100644 --- a/crates/komorebi-config/src/static_config.rs +++ b/crates/komorebi-config/src/static_config.rs @@ -617,7 +617,7 @@ impl StaticConfig { /// # Errors /// /// The file cannot be read, or it is not a configuration. - pub fn read(path: &PathBuf) -> color_eyre::Result { + pub fn read(path: &std::path::Path) -> color_eyre::Result { let content = std::fs::read_to_string(path)?; serde_json::from_str(&content).map_err(Into::into) }