From 9f2c2a9525a8659b873624ee6ae648e7cf3d25ca Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Fri, 28 Jul 2023 22:54:23 +0200 Subject: [PATCH] refactor: `exec_interactive_command` is now private --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 31f9632..ff35c87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -101,7 +101,7 @@ fn get_session(args: &Cli) -> Result { /// The resulting output will be returned as `Output`. This is a modified version of: /// /// https://users.rust-lang.org/t/command-if-a-child-process-is-asking-for-input-how-to-forward-the-question-to-the-user/37490/3 -pub fn exec_interactive_command(cmd: &str, args: Vec<&str>) -> Output { +fn exec_interactive_command(cmd: &str, args: Vec<&str>) -> Output { let cli_command = match Command::new(cmd) .args(&args) .stdin(Stdio::inherit()) -- libgit2 1.7.2