mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 08:09:23 +02:00
Better error messages.
This commit is contained in:
@ -98,8 +98,6 @@ impl Str {
|
||||
value.tag(),
|
||||
&f,
|
||||
Box::new(move |(obj_source, column_path_tried)| {
|
||||
//let fields = f.clone();
|
||||
|
||||
match did_you_mean(&obj_source, &column_path_tried) {
|
||||
Some(suggestions) => {
|
||||
return ShellError::labeled_error(
|
||||
|
Reference in New Issue
Block a user