mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:45:03 +02:00
* feat: Add insensitive flag to get, fix #4295 * add get insensitive example * Fix get flags * Update get examples
This commit is contained in:
@ -262,7 +262,7 @@ fn get_converted_value(
|
||||
val: block_id,
|
||||
span: from_span,
|
||||
..
|
||||
}) = env_conversions.follow_cell_path(path_members)
|
||||
}) = env_conversions.follow_cell_path(path_members, false)
|
||||
{
|
||||
let block = engine_state.get_block(block_id);
|
||||
|
||||
|
@ -295,7 +295,7 @@ pub fn eval_expression(
|
||||
Expr::FullCellPath(cell_path) => {
|
||||
let value = eval_expression(engine_state, stack, &cell_path.head)?;
|
||||
|
||||
value.follow_cell_path(&cell_path.tail)
|
||||
value.follow_cell_path(&cell_path.tail, false)
|
||||
}
|
||||
Expr::ImportPattern(_) => Ok(Value::Nothing { span: expr.span }),
|
||||
Expr::Call(call) => {
|
||||
|
Reference in New Issue
Block a user