Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(bzlmod): go_deps overrides should fail with path that doesn't exist #1668

Closed
tyler-french opened this issue Nov 21, 2023 · 0 comments
Closed

Comments

@tyler-french
Copy link
Contributor

What did you do?

Add this to MODULE.bazel:

go_deps.archive_override(
    path = "this/doesnt/exist",
    sha256 = "4a6497e0bf1f19c8089dd02e7ba1351ba787f434d62971ff14fb627e57914939",
    strip_prefix = "asdufhasldkjfhaslkjd",
    urls = [
        "aksjdhflaksjdhflkjahsdf",
    ],
)

What did you expect to see?

The build should fail with override for path = "this/doesnt/exist" failed, there is no go_deps module declared with this path.

What did you see instead?

Build passes as previous

@tyler-french tyler-french changed the title bug(bzlmod): go_deps overrides to non-existant path doesn't fail the build bug(bzlmod): go_deps overrides should fail with path that doesn't exist Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant