mirror of
https://github.com/nushell/nushell.git
synced 2025-05-24 16:41:17 +00:00
- fixes #10083 # Description nushell crashes in the following 2 condition: - `let a = {}` , then delete `{` - `let a = | {}`, then delete `{` When delete `{` the pipeline becomes empty but current `nu-parser` assume they are non-empty. This pr adds extra empty check to avoid crash. Co-authored-by: Horasal <horsal@horsal.dev>