mirror of
https://github.com/nushell/nushell.git
synced 2025-06-20 09:58:15 +02:00
refactor(run): update comment to clarify vendor autoload condition
This commit is contained in:
parent
0cf878c5dc
commit
2712d04a98
@ -76,7 +76,7 @@ pub(crate) fn run_commands(
|
|||||||
}
|
}
|
||||||
|
|
||||||
perf!("read login.nu", start_time, use_color);
|
perf!("read login.nu", start_time, use_color);
|
||||||
// Only run vendor autoload if NU_AUTOLOAD_ON_COMMAND is set to true
|
// Only run vendor autoload if NU_AUTOLOAD_ON_COMMAND is set
|
||||||
|
|
||||||
if nu_autoload_on_command(engine_state, &stack) {
|
if nu_autoload_on_command(engine_state, &stack) {
|
||||||
read_vendor_autoload_files(engine_state, &mut stack);
|
read_vendor_autoload_files(engine_state, &mut stack);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user