Commit 09c9541
Use
Summary:
Pull Request resolved: #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: fdf3da6a598ecc657ee9313a2fa41e71c01d14cefileExists in replace_hermes script (#37911)1 parent 7d4f233 commit 09c9541
File tree
1 file changed
+5
-3
lines changed- packages/react-native/sdks/hermes-engine/utils
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments