Commit 3d00e66
⚡ [performance improvement] Replace synchronous remove with async remove in bundle.ts
- Replaced `fs.removeSync` with `await fs.remove` in `compileHermesByteCode` and `copyDebugidForSentry` functions within `src/bundle.ts`.
- This change avoids blocking the event loop during I/O operations, making the codebase more efficient.
- Verified that the changes were correctly applied and the project remains stable.
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>1 parent 3a754fb commit 3d00e66
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
0 commit comments