summaryrefslogtreecommitdiff
path: root/utils/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'utils/src/input')
-rw-r--r--utils/src/input/editor.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/utils/src/input/editor.rs b/utils/src/input/editor.rs
index 34377fd..aa3e1be 100644
--- a/utils/src/input/editor.rs
+++ b/utils/src/input/editor.rs
@@ -10,13 +10,7 @@ pub async fn input_with_editor(
cache_file: impl AsRef<std::path::Path>,
comment_char: impl AsRef<str>,
) -> Result<String, std::io::Error> {
- input_with_editor_cutsom(
- default_text,
- cache_file,
- comment_char,
- get_default_editor().await,
- )
- .await
+ input_with_editor_cutsom(default_text, cache_file, comment_char, get_default_editor()).await
}
pub async fn input_with_editor_cutsom(