We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
go mod tidy
1 parent aa5e14f commit f48b1e5Copy full SHA for f48b1e5
1 file changed
go/extractor/project/project.go
@@ -126,12 +126,13 @@ func initGoModForLegacyProject(path string) {
126
127
if err != nil {
128
log.Printf("Failed to determine module requirements for this project.")
129
+ }
130
- if strings.Contains(string(out), "is relative, but relative import paths are not supported in module mode") {
131
- diagnostics.EmitRelativeImportPaths()
132
- }
+ if strings.Contains(string(out), "is relative, but relative import paths are not supported in module mode") {
+ diagnostics.EmitRelativeImportPaths()
133
}
134
135
+}
136
137
// Find all go.work files in the working directory and its subdirectories
138
func findGoWorkFiles() []string {
0 commit comments