Skip to content

Commit

Permalink
Fix _fallback_srcs check (#2521)
Browse files Browse the repository at this point in the history
Signed-off-by: Brentley Jones <[email protected]>
  • Loading branch information
brentleyjones authored Sep 17, 2024
1 parent 139bd5f commit ab3cc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apple/internal/local_provisioning_profiles.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _local_provisioning_profile(ctx):
args.add_all("--local_profiles", ctx.files._local_srcs)
if ctx.files._fallback_srcs:
args.add_all("--fallback_profiles", ctx.files._fallback_srcs)
if not ctx.files._local_srcs and not ctx.attr._fallback_srcs:
if not ctx.files._local_srcs and not ctx.files._fallback_srcs:
fail("Either local or fallback provisioning profiles must exist")

ctx.actions.run(
Expand Down

0 comments on commit ab3cc34

Please sign in to comment.