Commit 78f16fc
authored
fix: correctly log error output when building (#698)
<!-- Please provide enough information so that others can review your
pull request. -->
<!-- Keep pull requests small and focused on a single change. -->
### Summary
If an error occurs, it is not printed in the CLI.
* as-is:
<img width="611" alt="image"
src="https://github.com/user-attachments/assets/f535b6d7-b4bd-4274-868e-30640ca1f653">
* to-be:
<img width="626" alt="image"
src="https://github.com/user-attachments/assets/8bd6d0c5-da74-4230-bb8f-02adf3bb10b4">
<!-- What existing problem does the pull request solve? Can you solve
the issue with a different approach? -->
### Test plan
1. `react-native-config.js` file:
```js
test // That code will cause an error.
```
2. yarn prepare
<!-- List the steps with which we can test this change. Provide
screenshots if this changes anything visual. -->1 parent a9f2ede commit 78f16fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments