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): Remove hermesc envs if hermes is disabled #1754

Merged
merged 5 commits into from Sep 26, 2023

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Sep 22, 2023

If hermesc path is in envs and exists react native tooling assumes hermes is enabled.

Sentry cli puts itself on the path therefore react native tooling always assumes hermes is enabled.

Todo:

  • Test with multiple RN versions.

@@ -263,16 +271,24 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
// With that we we then have all the information we need to invoke the
// upload process.
} else {
let rv = process::Command::new(&script)
let mut command= process::Command::new(&script);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please run cargo fmt on the project as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

I did, but no changes emitted.

I fixed one extra empty line manually.

Copy link
Contributor

Choose a reason for hiding this comment

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

Hm, that's odd. It doesn't do anything for me either, but my editor formats this correctly. Do you mind if I push my formatting changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't mind. Go ahead.

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