GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: fix typo in `avoid-prototype-pollution` lint rule · nodejs/node@cc819b4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools/eslint-rules
    • avoid-prototype-pollution.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/eslint-rules/avoid-prototype-pollution.js‎

Copy file name to clipboardExpand all lines: tools/eslint-rules/avoid-prototype-pollution.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.