Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RN CLI 'insert' command on RN 0.68+ #1726

Merged
merged 1 commit into from May 3, 2022
Merged

Conversation

imjoehaines
Copy link
Member

Goal

RN 0.68 changed 'AppDelegate.m' to 'AppDelegate.mm', which broke our previous logic for finding the file

This PR changes the logic to work for both extensions

RN 0.68 changed 'AppDelegate.m' to 'AppDelegate.mm', which broke our
previous logic for finding the file
@github-actions
Copy link

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 42.31 kB 12.94 kB
After 42.31 kB 12.94 kB
± No change No change

code coverage diff

Ok File Lines Branches Functions Statements
🔴 /home/runner/work/bugsnag-js/bugsnag-js/packages/react-native-cli/src/lib/Insert.ts 98.57%
(-1.43%)
100%
(+0%)
100%
(+0%)
98.63%
(-1.37%)

Total:

Lines Branches Functions Statements
84.64%(-0.01%) 73.95%(+0.02%) 84.01%(+0.01%) 83.71%(+0%)

Generated by 🚫 dangerJS against 88a4dc7

@imjoehaines imjoehaines merged commit ab3a35e into next May 3, 2022
@imjoehaines imjoehaines deleted the app-delgate-mmmmm branch May 3, 2022 16:19
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.

None yet

2 participants