return coll.err
}
for _, m := range mc.AllModules {
- if m.Owner() == nil {
+ if m.Owner() == nil || !isProbablyModule(m.Path()) {
continue
}
modules = append(modules, m.Path())
-- hugo.toml --
title = "Hugo Modules Update Test"
+theme = ["my-theme"]
[module]
[[module.imports]]
path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml"
github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.1.0 // indirect
github.com/gohugoio/hugo-mod-integrationtests/commonmod v0.0.0-20230823103305-919cefe8a425 // indirect
)
-
+-- themes/my-theme/dummy.txt --
+MY THEME