Fix so hugo get -u updates transitively

This commit is contained in:
Razon Yang
2023-10-22 22:32:01 +08:00
committed by GitHub
parent c23a0c4a0f
commit de4e466036
3 changed files with 62 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
hugo mod get
stderr 'withhugotoml.*v1.1.0'
-- 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.20