-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue #1855: "All Bazel commands fail when changing a Go dependen…
…cy when using Bzlmod extension" (#1861) **What type of PR is this?** Bug fix **What package or component does this PR mostly affect?** Go bzlmod **What does this PR do? Why is it needed?** When trying to bump the version of a Go module in a repo that uses the `go_deps` bzlmod extension, we run into an issue wherein all Bazel commands fail with ` "Error in fail: No sum for <module>`. However the suggested fix is to run `bazel run @rules_go//go -- mod tidy` which fails with the same error, thus forcing us into a pickle. This PR changes this to a warning instead of an error after which the suggested fix works. **Which issues(s) does this PR fix?** Fixes #1855 --------- Co-authored-by: Fabian Meumertzheim <[email protected]>
- Loading branch information
1 parent
ced414a
commit 2c65af5
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters