mirror of
https://github.com/nushell/nushell.git
synced 2025-08-14 13:19:03 +02:00
use correct argument for error message
This commit is contained in:
@ -52,7 +52,7 @@ impl Plugin for Match {
|
|||||||
_ => {
|
_ => {
|
||||||
return Err(ShellError::string(format!(
|
return Err(ShellError::string(format!(
|
||||||
"Unrecognized type in params: {:?}",
|
"Unrecognized type in params: {:?}",
|
||||||
args[0]
|
args[1]
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user