Skip to content

Commit acf2f76

Browse files
committed
Go: Improve log message for InitGoModForLegacyProject
1 parent 1a13a0e commit acf2f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/extractor/project/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var filesToRemove []string = []string{}
129129

130130
// Try to initialize a go.mod file for projects that do not already have one.
131131
func InitGoModForLegacyProject(path string) {
132-
log.Printf("Project appears to be a legacy Go project, attempting to initialize go.mod in %s\n", path)
132+
log.Printf("The code in %s seems to be missing a go.mod file, attempting to initialize one...\n", path)
133133

134134
modInit := toolchain.InitModule(path)
135135

0 commit comments

Comments
 (0)