| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 254358c commit cc819b4
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -168,15 +168,15 @@ module.exports = { | |||
| 168 | 168 | [CallExpression('PromisePrototypeCatch')](node) { | |
| 169 | 169 | context.report({ | |
| 170 | 170 | node, | |
| 171 | - message: '%Promise.prototype.catch% look up the `then` property of ' + | ||
| 171 | + message: '%Promise.prototype.catch% looks up the `then` property of ' + | ||
| 172 | 172 | 'the `this` argument, use PromisePrototypeThen instead', | |
| 173 | 173 | }); | |
| 174 | 174 | }, | |
| 175 | 175 | ||
| 176 | 176 | [CallExpression('PromisePrototypeFinally')](node) { | |
| 177 | 177 | context.report({ | |
| 178 | 178 | node, | |
| 179 | - message: '%Promise.prototype.finally% look up the `then` property of ' + | ||
| 179 | + message: '%Promise.prototype.finally% looks up the `then` property of ' + | ||
| 180 | 180 | 'the `this` argument, use SafePromisePrototypeFinally or ' + | |
| 181 | 181 | 'try/finally instead', | |
| 182 | 182 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments