Skip to content

Commit 347b5f1

Browse files
committed
Remove unused code
1 parent 509dda5 commit 347b5f1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

go/extractor/cli/go-autobuilder/go-autobuilder.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,6 @@ func getEnvGoSemVer() string {
9292
return "v" + goVersion[2:]
9393
}
9494

95-
func tryBuild(buildFile, cmd string, args ...string) bool {
96-
if util.FileExists(buildFile) {
97-
log.Printf("%s found, running %s\n", buildFile, cmd)
98-
return util.RunCmd(exec.Command(cmd, args...))
99-
}
100-
return false
101-
}
102-
10395
// Returns the import path of the package being built, or "" if it cannot be determined.
10496
func getImportPath() (importpath string) {
10597
importpath = os.Getenv("LGTM_INDEX_IMPORT_PATH")

0 commit comments

Comments
 (0)