forked from extern/nushell
use correct argument for error message
This commit is contained in:
parent
36f2b09cad
commit
9181a046ec
@ -52,7 +52,7 @@ impl Plugin for Match {
|
||||
_ => {
|
||||
return Err(ShellError::string(format!(
|
||||
"Unrecognized type in params: {:?}",
|
||||
args[0]
|
||||
args[1]
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user