We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e00592 commit 56a0675Copy full SHA for 56a0675
docs/rules/catch-or-return.md
@@ -22,7 +22,7 @@ function doSomethingElse() {
22
myPromise.then(doSomething)
23
myPromise.then(doSomething, catchErrors) // catch() may be a little better
24
function doSomethingElse() {
25
- myPromise.then(doSomething)
+ return myPromise.then(doSomething)
26
}
27
```
28
0 commit comments