summaryrefslogtreecommitdiff
path: root/utils/src/env/editor.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-19 15:45:37 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-19 15:45:37 +0800
commitf5563c1c8aee3f1d9c0a7c4b5c6d72b6e58e95d4 (patch)
tree831fa9268e58cc233777ec6d46844185369c11c4 /utils/src/env/editor.rs
parent6e0c9967d09a3ab8f0c1fcceb91ea9c7a7a800ed (diff)
Remove async from get_default_editor and get_default_pager
Diffstat (limited to 'utils/src/env/editor.rs')
-rw-r--r--utils/src/env/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/env/editor.rs b/utils/src/env/editor.rs
index c7bd446..a4e1e0e 100644
--- a/utils/src/env/editor.rs
+++ b/utils/src/env/editor.rs
@@ -6,7 +6,7 @@
///
/// # Returns
/// A String containing the default text editor
-pub async fn get_default_editor() -> String {
+pub fn get_default_editor() -> String {
if let Ok(editor) = std::env::var("JV_TEXT_EDITOR") {
return editor;
}