]> git.maquefel.me Git - brevno-suite/hugo/commit
Fix it so disable a module does not disable transitive dependency required by others
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Aug 2023 10:39:24 +0000 (12:39 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Aug 2023 16:05:18 +0000 (18:05 +0200)
commitdcf425c846dcd6fbb0c05e87342077ab870eb7e1
tree603f96feb9bb7a7503d86a4788dc5a6918ba4045
parent9a8c84d6000fab3ec6847a330c45bfe24b76265d
Fix it so disable a module does not disable transitive dependency required by others

The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`.

Fixes #11376
config/allconfig/configlanguage.go
config/allconfig/load.go
hugolib/paths/paths.go
modules/client.go
modules/collect.go
modules/module.go
testscripts/commands/mod__disable.txt [new file with mode: 0644]
testscripts/commands/mod_vendor.txt