mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Remove unused code
This commit is contained in:
@@ -92,14 +92,6 @@ func getEnvGoSemVer() string {
|
||||
return "v" + goVersion[2:]
|
||||
}
|
||||
|
||||
func tryBuild(buildFile, cmd string, args ...string) bool {
|
||||
if util.FileExists(buildFile) {
|
||||
log.Printf("%s found, running %s\n", buildFile, cmd)
|
||||
return util.RunCmd(exec.Command(cmd, args...))
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Returns the import path of the package being built, or "" if it cannot be determined.
|
||||
func getImportPath() (importpath string) {
|
||||
importpath = os.Getenv("LGTM_INDEX_IMPORT_PATH")
|
||||
|
||||
Reference in New Issue
Block a user