Files
react-native/packages
Riccardo CipolleschiandFacebook GitHub Bot 09c95413dd Use fileExists in replace_hermes script (#37911)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37911

Thanks to [adrianha](https://github.com/adrianha) for spotting a bug in the script that replace the Hermes engine.
I miscopied the variable to check when there is no previous build file.

This change uses the right variable and improves also the messages printed to the user.

## Changelog:
[Internal] - Fix replace_hermes_version script using the right `fileExists` variable

Reviewed By: dmytrorykun

Differential Revision: D46762041

fbshipit-source-id: fdf3da6a598ecc657ee9313a2fa41e71c01d14ce
2023-06-15 07:27:57 -07:00
..