mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
Fix minor typo in calc command error (#1395)
This commit is contained in:
parent
9bc5022c9c
commit
71615f77a7
@ -32,7 +32,7 @@ fn calc(input: Value, args: &RawCommandArgs) -> Result<OutputStream, ShellError>
|
|||||||
match parse(&string, &input.tag) {
|
match parse(&string, &input.tag) {
|
||||||
Ok(value) => ReturnSuccess::value(value),
|
Ok(value) => ReturnSuccess::value(value),
|
||||||
Err(err) => Err(ShellError::labeled_error(
|
Err(err) => Err(ShellError::labeled_error(
|
||||||
"Calulation error",
|
"Calculation error",
|
||||||
err,
|
err,
|
||||||
&input.tag.span,
|
&input.tag.span,
|
||||||
)),
|
)),
|
||||||
|
Loading…
Reference in New Issue
Block a user