Skip to content

Commit 88d1437

Browse files
committed
refactor(parser): unified behavior of parse_export_env
1 parent 20b0faa commit 88d1437

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/nu-parser/src/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6127,6 +6127,7 @@ pub fn parse_builtin_commands(
61276127
b"extern" => parse_extern(working_set, lite_command, None),
61286128
// `parse_export_in_block` also handles attributes by itself
61296129
b"export" => parse_export_in_block(working_set, lite_command),
6130+
b"export-env" => parse_export_env(working_set, &lite_command.parts).0,
61306131
// Other definitions can't have attributes, so we handle attributes here with parse_attribute_block
61316132
_ if lite_command.has_attributes() => parse_attribute_block(working_set, lite_command),
61326133
b"let" => parse_let(

0 commit comments

Comments
 (0)