From a9f0143cae0581138d393933aab60799f7fe374b Mon Sep 17 00:00:00 2001 From: sxyazi Date: Fri, 7 Feb 2025 01:57:37 +0800 Subject: [PATCH] .. --- yazi-shared/src/shell/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yazi-shared/src/shell/mod.rs b/yazi-shared/src/shell/mod.rs index 40df04f8..a41de5f7 100644 --- a/yazi-shared/src/shell/mod.rs +++ b/yazi-shared/src/shell/mod.rs @@ -8,8 +8,6 @@ use std::{borrow::Cow, ffi::OsStr}; -use anyhow::anyhow; - mod unix; mod windows; @@ -45,7 +43,7 @@ pub fn escape_os_str(s: &OsStr) -> Cow { #[inline] pub fn split_unix(s: &str) -> anyhow::Result> { - unix::split(s).map_err(|()| anyhow!("missing closing quote")) + unix::split(s).map_err(|()| anyhow::anyhow!("missing closing quote")) } #[cfg(windows)]