Skip to content

Commit 29134fc

Browse files
committed
dedup with a helper fn
1 parent 623e8f7 commit 29134fc

File tree

2 files changed

+77
-220
lines changed

2 files changed

+77
-220
lines changed

crates/nu-engine/src/compile/call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub(crate) fn compile_call(
4242
// and will get a const value though, is it really necessary to do that?
4343
return builder.load_empty(io_reg);
4444
}
45-
"alias" => {
45+
"alias" | "export alias" => {
4646
// Alias does nothing
4747
return builder.load_empty(io_reg);
4848
}

0 commit comments

Comments
 (0)