We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07be6b1 commit 26ef861Copy full SHA for 26ef861
tcl/main.tcl.in
@@ -537,20 +537,12 @@ proc module {command args} {
537
# register modulefiles to load as individual prereqs or all at
538
# once for load-any sub-command
539
if {$command eq {load-any}} {
540
- if {[llength $tag_list] > 0} {
541
- prereq --tag [join $tag_list :] {*}$args
542
- } else {
543
- prereq {*}$args
544
- }
+ prereq --tag [join $tag_list :] {*}$args
545
} else {
546
foreach arg $args {
547
# no prereq record if try-load did not succeed
548
if {$command ne {try-load} || [is-loaded $arg]} {
549
550
- prereq --tag [join $tag_list :] $arg
551
552
- prereq $arg
553
+ prereq --tag [join $tag_list :] $arg
554
}
555
556
0 commit comments