mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 14:42:15 +00:00
dcf425c846
The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`. Fixes #11376
15 lines
322 B
Text
15 lines
322 B
Text
hugo mod graph
|
|
stdout 'withhugotoml.*commonmod'
|
|
|
|
-- hugo.toml --
|
|
title = "Hugo Modules Test"
|
|
[module]
|
|
[[module.imports]]
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml"
|
|
disable = true
|
|
[[module.imports]]
|
|
path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml"
|
|
-- go.mod --
|
|
module foo
|
|
go 1.19
|
|
|