tools
tools copied to clipboard
fix(rome_js_parser): improve await handling in non-async context
Summary
Fixes:
- https://github.com/rome/tools/issues/2479
Test Plan
Added unit tests for the scenarios.
Deploy Preview for docs-rometools failed.
| Name | Link |
|---|---|
| Latest commit | 483492df4914c2c7adc68416ffd39b45fad4cd6f |
| Latest deploy log | https://app.netlify.com/sites/docs-rometools/deploys/6369e1c9c9c9d40009b0e64a |
FYI yield / generator has the same problem 😉 You may wish to fix it next.