Skip to content

Commit

Permalink
Remove analysis error in local_provisioning_profiles.bzl (#2542)
Browse files Browse the repository at this point in the history
This can result in build failures that normally wouldn’t fail. At
execution we get an error if profiles aren’t found, which is good
enough.

Signed-off-by: Brentley Jones <github@brentleyjones.com>
  • Loading branch information
brentleyjones authored Sep 23, 2024
1 parent 35a2fb8 commit 08f5805
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apple/internal/local_provisioning_profiles.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ 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.files._fallback_srcs:
fail("Either local or fallback provisioning profiles must exist")

ctx.actions.run(
executable = ctx.executable._finder,
Expand Down

0 comments on commit 08f5805

Please sign in to comment.