diff options
Diffstat (limited to 'utils/src/env')
| -rw-r--r-- | utils/src/env/editor.rs | 2 | ||||
| -rw-r--r-- | utils/src/env/pager.rs | 2 |
2 files changed, 2 insertions, 2 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; } diff --git a/utils/src/env/pager.rs b/utils/src/env/pager.rs index 3fdb1c3..437ecdb 100644 --- a/utils/src/env/pager.rs +++ b/utils/src/env/pager.rs @@ -6,7 +6,7 @@ /// /// # Returns /// A String containing the default pager -pub async fn get_default_pager() -> String { +pub fn get_default_pager() -> String { if let Ok(pager) = std::env::var("JV_PAGER") { return pager; } |
