Skip to content

Commit 5b0933a

Browse files
authored
Merge branch 'main' into wb/fix-glob-cve-2025-64756
2 parents 16a468f + 8f10917 commit 5b0933a

File tree

4 files changed

+0
-33
lines changed

4 files changed

+0
-33
lines changed

cmd/src/main.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

33
import (
4-
"context"
54
"encoding/json"
65
"flag"
76
"io"
@@ -92,14 +91,6 @@ func main() {
9291
log.SetFlags(0)
9392
log.SetPrefix("")
9493

95-
// "tool" does not use the legacy commander cli framework and uses urfave/cli v3 instead
96-
if len(os.Args) >= 2 && os.Args[1] == "tool" {
97-
if err := toolCmd.Run(context.Background(), os.Args[1:]); err != nil {
98-
log.Fatal(err)
99-
}
100-
return
101-
}
102-
10394
commands.run(flag.CommandLine, "src", usageText, normalizeDashHelp(os.Args[1:]))
10495
}
10596

cmd/src/tool.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ require (
2929
github.com/sourcegraph/scip v0.6.1
3030
github.com/sourcegraph/sourcegraph/lib v0.0.0-20240709083501-1af563b61442
3131
github.com/stretchr/testify v1.11.1
32-
github.com/urfave/cli/v3 v3.6.1
3332
golang.org/x/net v0.44.0
3433
golang.org/x/sync v0.17.0
3534
google.golang.org/api v0.132.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,6 @@ github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD
451451
github.com/tetratelabs/wazero v1.3.0 h1:nqw7zCldxE06B8zSZAY0ACrR9OH5QCcPwYmYlwtcwtE=
452452
github.com/tetratelabs/wazero v1.3.0/go.mod h1:wYx2gNRg8/WihJfSDxA1TIL8H+GkfLYm+bIfbblu9VQ=
453453
github.com/urfave/cli v1.22.12/go.mod h1:sSBEIC79qR6OvcmsD4U3KABeOTxDqQtdDnaFuUN30b8=
454-
github.com/urfave/cli/v3 v3.6.1 h1:j8Qq8NyUawj/7rTYdBGrxcH7A/j7/G8Q5LhWEW4G3Mo=
455-
github.com/urfave/cli/v3 v3.6.1/go.mod h1:ysVLtOEmg2tOy6PknnYVhDoouyC/6N42TMeoMzskhso=
456454
github.com/vbatts/tar-split v0.11.3 h1:hLFqsOLQ1SsppQNTMpkpPXClLDfC2A3Zgy9OUU+RVck=
457455
github.com/vbatts/tar-split v0.11.3/go.mod h1:9QlHN18E+fEH7RdG+QAJJcuya3rqT7eXSTY7wGrAokY=
458456
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=

0 commit comments

Comments
 (0)