File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,15 +168,15 @@ module.exports = {
168168 [ CallExpression ( 'PromisePrototypeCatch' ) ] ( node ) {
169169 context . report ( {
170170 node,
171- message : '%Promise.prototype.catch% look up the `then` property of ' +
171+ message : '%Promise.prototype.catch% looks up the `then` property of ' +
172172 'the `this` argument, use PromisePrototypeThen instead' ,
173173 } ) ;
174174 } ,
175175
176176 [ CallExpression ( 'PromisePrototypeFinally' ) ] ( node ) {
177177 context . report ( {
178178 node,
179- message : '%Promise.prototype.finally% look up the `then` property of ' +
179+ message : '%Promise.prototype.finally% looks up the `then` property of ' +
180180 'the `this` argument, use SafePromisePrototypeFinally or ' +
181181 'try/finally instead' ,
182182 } ) ;
You can’t perform that action at this time.
0 commit comments