mirror of
https://github.com/nushell/nushell
synced 2025-01-27 04:15:21 +00:00
Fix minor typo in calc command error (#1395)
This commit is contained in:
parent
9bc5022c9c
commit
71615f77a7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue