Better error messages.

This commit is contained in:
Andrés N. Robalino
2019-10-31 04:36:08 -05:00
parent 7614ce4b49
commit b54ce921dd
4 changed files with 149 additions and 10 deletions

View File

@ -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(