-
-
Notifications
You must be signed in to change notification settings - Fork 229
fix(rn): Remove hermesc envs if hermes is disabled #1754
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
Conversation
If hermesc path is in envs react native tooling assumes hermes is enabled.
src/commands/react_native/xcode.rs
Outdated
@@ -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); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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: