Skip to content

fix: str.replace not a function issue#1909

Merged
adamTrz merged 1 commit intoreact-native-community:mainfrom
adamTrz:fix-str-replace
Apr 21, 2023
Merged

fix: str.replace not a function issue#1909
adamTrz merged 1 commit intoreact-native-community:mainfrom
adamTrz:fix-str-replace

Conversation

@adamTrz
Copy link
Collaborator

@adamTrz adamTrz commented Apr 14, 2023

Summary:

xcodebuild can throw but when it does inside JSON.parse we won't get any error in catch block which in turn will cause another error Error: str.replace is not a function in CLIError's constructor.

Partially related to #1883 and #1908 -not a real fix for those issues but at least it will make debugging bit better :)

@adamTrz adamTrz requested a review from thymikee as a code owner April 14, 2023 11:35
Copy link
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants