Skip to content

Commit

Permalink
Fix incompatibility with Bazel 6 (#248)
Browse files Browse the repository at this point in the history
Adds a missing `None` to an otherwise failing `getattr`.
  • Loading branch information
fmeum authored Apr 12, 2024
1 parent b0199e6 commit 9d0ef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzzing/private/binary.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _fuzzing_binary_impl(ctx):
else:
default_info = ctx.attr.binary[DefaultInfo]
binary_runfiles = default_info.default_runfiles
binary_repo_mapping_manifest = getattr(default_info.files_to_run, "repo_mapping_manifest")
binary_repo_mapping_manifest = getattr(default_info.files_to_run, "repo_mapping_manifest", None)
other_runfiles = []
if ctx.file.corpus:
other_runfiles.append(ctx.file.corpus)
Expand Down

0 comments on commit 9d0ef1c

Please sign in to comment.