mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-31 00:40:18 +00:00
chore: run fmt
This commit is contained in:
1 parent
17aca87df9
commit
fcaa6d32dc
3 files changed
+25
-8
No files matched your search
+4
-1
@@ -325,7 +325,10 @@ impl Options {
|
||||
options.executor_kind = if matches.get_flag("no-shell") {
|
||||
ExecutorKind::Raw
|
||||
} else {
|
||||
match (matches.get_flag("debug-mode"), matches.get_one::<String>("shell")) {
|
||||
match (
|
||||
matches.get_flag("debug-mode"),
|
||||
matches.get_one::<String>("shell"),
|
||||
) {
|
||||
(false, Some(shell)) if shell == "default" => ExecutorKind::Shell(Shell::default()),
|
||||
(false, Some(shell)) if shell == "none" => ExecutorKind::Raw,
|
||||
(false, Some(shell)) => ExecutorKind::Shell(Shell::parse_from_str(shell)?),
|
||||
|
||||
Reference in new issue
Block a user