docs: fix duplicate word in custom module comment (#7349)

Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
This commit is contained in:
Rohan Santhosh Kumar
2026-03-26 03:25:27 +08:00
committed by GitHub
parent fce0ed741b
commit e5c1c7c4a9
+1 -1
View File
@@ -280,7 +280,7 @@ fn exec_command(cmd: &str, context: &Context, config: &CustomConfig) -> Option<S
/// If the specified shell refers to `PowerShell`, adds the arguments "-Command -" to the
/// given command.
/// Returns `false` if the shell shell expects scripts as arguments, `true` if as `stdin`.
/// Returns `false` if the shell expects scripts as arguments, `true` if as `stdin`.
fn handle_shell(command: &mut Command, shell: &str, shell_args: &[&str]) -> bool {
let shell_exe = Path::new(shell).file_stem();
let no_args = shell_args.is_empty();