Skip to content

Commit fd54350

Browse files
committed
Go: Fix comment for getBuildRoots
1 parent f084829 commit fd54350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/extractor/project/project.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ func discoverWorkspaces(emitDiagnostics bool) []GoWorkspace {
287287
}
288288
}
289289

290-
// Returns the directory to run the go build in and whether to use a go.mod
291-
// file.
290+
// Discovers Go workspaces in the current working directory.
291+
// Returns an array of Go workspaces and the total number of module files which we discovered.
292292
func getBuildRoots(emitDiagnostics bool) (goWorkspaces []GoWorkspace, totalModuleFiles int) {
293293
goWorkspaces = discoverWorkspaces(emitDiagnostics)
294294

0 commit comments

Comments
 (0)