Skip to content

Commit

Permalink
Unbreak github CI
Browse files Browse the repository at this point in the history
Summary: Imports are too new. Github CI has a slightly older Go version.

Reviewed By: rajneesh

Differential Revision: D68418320

fbshipit-source-id: cfa290585ec960a4482110b7085c5756fb91f876
  • Loading branch information
echistyakov authored and facebook-github-bot committed Jan 20, 2025
1 parent d396d12 commit 72a115b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions prelude/go_bootstrap/tools/go/testmaingen.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ import (
"go/scanner"
"go/token"
"log"
"maps"
"os"
"path/filepath"
"reflect"
"slices"
"sort"
"strings"
"text/template"
Expand Down Expand Up @@ -148,10 +146,10 @@ func main() {
Vars: coverVarMap,
}
coverInfos = append(coverInfos, cover)
testCoverPaths = append(testCoverPaths, importPath)
}

testCover = testCoverMode != ""
testCoverPaths = append(testCoverPaths, slices.Collect(maps.Keys(coverPkgs))...)

testFuncs, err := loadTestFuncsFromFiles(pkgImportPath, flag.Args())
if err != nil {
Expand Down

0 comments on commit 72a115b

Please sign in to comment.