diff --git a/config/module/storage.go b/config/module/storage.go index 381650ea8..05065b3c6 100644 --- a/config/module/storage.go +++ b/config/module/storage.go @@ -343,7 +343,7 @@ func (s Storage) findRegistryModule(mSource, constraint string) (moduleRecord, e return rec, err } - s.output(fmt.Sprintf(" Found version %q of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display())) + s.output(fmt.Sprintf(" Found version %s of %s on %s", rec.Version, mod.Module(), mod.RawHost.Display())) } return rec, nil diff --git a/config/module/tree.go b/config/module/tree.go index 0daabfd6a..c649a4663 100644 --- a/config/module/tree.go +++ b/config/module/tree.go @@ -5,7 +5,6 @@ import ( "bytes" "fmt" "log" - "path" "path/filepath" "strings" "sync" @@ -216,7 +215,7 @@ func (t *Tree) getChildren(s *Storage) (map[string]*Tree, error) { // add the module path to help indicate where modules with relative // paths are being loaded from - s.output(fmt.Sprintf("- Module %q", path.Join(modPath...))) + s.output(fmt.Sprintf("- module.%s", strings.Join(modPath, "."))) // Lookup the local location of the module. // dir is the local directory where the module is stored