Skip to content

Conversation

@byohay
Copy link
Contributor

@byohay byohay commented Jul 14, 2023

If target_proxy is nil, calling to_tree_hash on it will raise an
exception: undefined method `to_tree_hash' for nil:NilClass
(NoMethodError).

@dnkoutso
Copy link
Contributor

Can you provide more info about the failure case? Also what about a test?

@byohay byohay force-pushed the feature/fix-target-dependency-crash branch from 4bcdcb2 to 079bd2f Compare July 16, 2023 19:09
If `target_proxy` is `nil`, calling `to_tree_hash` on it will raise an
exception: undefined method `to_tree_hash' for nil:NilClass
(NoMethodError).
@byohay byohay force-pushed the feature/fix-target-dependency-crash branch from 079bd2f to 0303c0b Compare July 16, 2023 19:14
@byohay
Copy link
Contributor Author

byohay commented Jul 16, 2023

@dnkoutso sorry, added a test and explanation.

@amorde amorde merged commit f59847b into CocoaPods:master Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants