Skip to content

Commit 3f381e3

Browse files
Fix apple_precompiled_resource_bundle for recent changes (#2825)
Not adding a test because #2659 will cause this path to be hit. Signed-off-by: Brentley Jones <[email protected]>
1 parent ffe3fb7 commit 3f381e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apple/internal/resources.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def _process_bucketized_data(
526526

527527
# Store each origin as a tuple in an array, to keep this knowledge as a low-memory
528528
# reference within a depset.
529-
for processed_resource, processed_origin in result.processed_origins.items():
529+
for processed_resource, processed_origin in getattr(result, "processed_origins", {}).items():
530530
processed_origins.append((processed_resource, tuple(processed_origin)))
531531

532532
processed_field = {}

0 commit comments

Comments
 (0)