We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e655f69 commit 4ccd091Copy full SHA for 4ccd091
internal/modproxy/testmodproxy/testmodproxy.go
@@ -42,7 +42,7 @@ import (
42
func LoadFS(rootDir string) (fs.FS, error) {
43
fsys := fstest.MapFS{}
44
// Track versions per module for generating list files
45
- versions := make(map[string][]string)
+ versions := map[string][]string{}
46
// Walk the root directory to find all modules
47
err := filepath.WalkDir(rootDir, func(path string, d fs.DirEntry, err error) error {
48
if err != nil {
0 commit comments