Skip to content

Commit

Permalink
Fix empty_repo_impl rule accessing the error_msg attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Sep 15, 2023
1 parent 155ba21 commit 97e8a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules_haskell_tests/non_module_deps_2.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ load("@toolchains_libraries//:toolchain_libraries.bzl", "toolchain_libraries")
label_builder = lambda x: Label(x)

def _empty_repo_impl(rctx):
fail(rctx.attrs.error_msg)
fail(rctx.attr.error_msg)

_empty_repo = repository_rule(
implementation = _empty_repo_impl,
Expand Down

0 comments on commit 97e8a8f

Please sign in to comment.