From 0e36b4b1bd847e7c9c56ed58a9e60a4590fc142f Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 11 Oct 2021 09:32:06 -0500 Subject: [PATCH] type-o changes seperator to separator --- crates/nu-command/src/viewers/griddle.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/nu-command/src/viewers/griddle.rs b/crates/nu-command/src/viewers/griddle.rs index 55ad98c4e7..d0c064ab62 100644 --- a/crates/nu-command/src/viewers/griddle.rs +++ b/crates/nu-command/src/viewers/griddle.rs @@ -53,7 +53,7 @@ prints out the list properly."# ) -> Result { let width_param: Option = call.get_flag(context, "width")?; let color_param: bool = call.has_flag("color"); - let seperator_param: Option = call.get_flag(context, "separator")?; + let separator_param: Option = call.get_flag(context, "separator")?; match input { Value::List { vals, .. } => { @@ -65,7 +65,7 @@ prints out the list properly."# call, width_param, color_param, - seperator_param, + separator_param, )) } else { Ok(Value::Nothing { span: call.head }) @@ -80,7 +80,7 @@ prints out the list properly."# call, width_param, color_param, - seperator_param, + separator_param, )) } else { // dbg!(data); @@ -100,7 +100,7 @@ prints out the list properly."# call, width_param, color_param, - seperator_param, + separator_param, )) } x => { @@ -127,8 +127,8 @@ fn create_grid_output2( } else { 80u16 }; - let sep = if let Some(seperator) = separator_param { - seperator + let sep = if let Some(separator) = separator_param { + separator } else { " │ ".to_string() };