This commit is contained in:
meehl committed 2026-09-02 16:37:59 +02:00
1 parent aa1bfb768e
commit 20a1db073d
20 files changed
+118 -126

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@ pub fn get_executable_dir() -> anyhow::Result<PathBuf> {
pub fn change_working_directory<P: AsRef<Path>>(path: P) -> anyhow::Result<()> {
env::set_current_dir(path.as_ref()).map_err(|e| {
anyhow::anyhow!(
"Failed to change working directory {:?}: {}",
path.as_ref(),
"Failed to change working directory {}: {}",
path.as_ref().display(),
e
)
})