Commit 9ff90b6
refactor(parser): check_call dedup (nushell#16596)
Cleanup duplicated code and computation of `check_call` and `is_help`
checks, one of the many causes of nushell#14697 .
`check_call` is already called once in `parse_internal_call`, (re)using
its result should be good enough.
## Release notes summary - What our users need to know
None
## Tasks after submitting
None
---------
Co-authored-by: Bahex <[email protected]>1 parent 9400f11 commit 9ff90b6
File tree
4 files changed
+314
-271
lines changed- crates/nu-parser/src
- tests/repl
4 files changed
+314
-271
lines changed
0 commit comments