mirror of
https://github.com/nushell/nushell.git
synced 2025-01-23 06:39:17 +01:00
Fix typo in sort-by
error message (#2841)
This commit is contained in:
parent
452d8c06e9
commit
7eb8634ad7
@ -134,7 +134,7 @@ pub fn sort(
|
|||||||
{
|
{
|
||||||
let (type_1, type_2) = values
|
let (type_1, type_2) = values
|
||||||
.err()
|
.err()
|
||||||
.expect("An error ocourred in the checking of types");
|
.expect("An error occurred in the checking of types");
|
||||||
return Err(ShellError::labeled_error(
|
return Err(ShellError::labeled_error(
|
||||||
"Not all values can be compared",
|
"Not all values can be compared",
|
||||||
format!(
|
format!(
|
||||||
|
Loading…
Reference in New Issue
Block a user