Skip to content

Commit

Permalink
Fix warning about using indirect repositories from go_deps
Browse files Browse the repository at this point in the history
```
WARNING: <root>/MODULE.bazel:216:24: The module extension go_deps defined in @gazelle//:extensions.bzl reported incorrect imports of repositories via use_repo():

Imported, but reported as indirect dependencies by the extension:
    com_github_golang_mock, com_github_golang_protobuf, org_golang_google_genproto, org_golang_google_grpc, org_golang_google_protobuf, org_golang_x_net, org_golang_x_tools

 ** You can use the following buildozer command(s) to fix these issues:

buildozer 'use_repo_remove @gazelle//:extensions.bzl go_deps
com_github_golang_mock com_github_golang_protobuf org_golang_google_genproto
org_golang_google_grpc org_golang_google_protobuf org_golang_x_net
org_golang_x_tools' //MODULE.bazel:all
```
  • Loading branch information
avdv committed Nov 23, 2023
1 parent c44a7c1 commit 87f4fe9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions rules_haskell_tests/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,6 @@ go_deps.module(
use_repo(
go_deps,
"com_github_gogo_protobuf",
"com_github_golang_mock",
"com_github_golang_protobuf",
"org_golang_google_genproto",
"org_golang_google_grpc",
"org_golang_google_protobuf",
"org_golang_x_net",
"org_golang_x_tools",
)

# Java dependencies for the //tests/java_classpath test
Expand Down

0 comments on commit 87f4fe9

Please sign in to comment.