mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 23:38:37 +02:00
refactor(cell-path): update Value::follow_cell_path
- remove `insensitive` parameter, case sensitivity is determined by the cell-path itself - update call sites
This commit is contained in:
@@ -91,7 +91,7 @@ impl Inc {
|
||||
|
||||
pub fn inc(&self, head: Span, value: &Value) -> Result<Value, LabeledError> {
|
||||
if let Some(cell_path) = &self.cell_path {
|
||||
let cell_value = value.follow_cell_path(&cell_path.members, false)?;
|
||||
let cell_value = value.follow_cell_path(&cell_path.members)?;
|
||||
|
||||
let cell_value = self.inc_value(head, &cell_value)?;
|
||||
|
||||
|
Reference in New Issue
Block a user