Commit bc5d390
committed
fix: handle unhandled promise rejections in whitespace-async.js
Add .catch() handlers to promise chains in whitespace-async.js files
to prevent unhandled rejections and provide clear error messages.1 parent 05aabc4 commit bc5d390
2 files changed
Lines changed: 8 additions & 2 deletions
File tree
- packages
- eslint-config-airbnb-base
- eslint-config-airbnb
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments