Fix minor typo in calc command error (#1395)

This commit is contained in:
Shaurya Shubham 2020-02-17 02:32:41 +05:30 committed by GitHub
parent 9bc5022c9c
commit 71615f77a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ fn calc(input: Value, args: &RawCommandArgs) -> Result<OutputStream, ShellError>
match parse(&string, &input.tag) {
Ok(value) => ReturnSuccess::value(value),
Err(err) => Err(ShellError::labeled_error(
"Calulation error",
"Calculation error",
err,
&input.tag.span,
)),