use correct argument for error message

This commit is contained in:
rnxypke 2019-10-03 08:21:24 +02:00
parent 36f2b09cad
commit 9181a046ec

View file

@ -52,7 +52,7 @@ impl Plugin for Match {
_ => {
return Err(ShellError::string(format!(
"Unrecognized type in params: {:?}",
args[0]
args[1]
)));
}
}