tools: update ESLint to 5.11.1

Update ESLint to 5.11.1.

PR-URL: https://github.com/nodejs/node/pull/25236
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
cjihrig 2018-12-26 20:58:57 -05:00
parent c66c0732e0
commit 1d3a414519
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ module.exports = {
return { return {
CatchClause(node) { CatchClause(node) {
if ( if (
node.param &&
node.param.type === "Identifier" && node.param.type === "Identifier" &&
node.body.body.length && node.body.body.length &&
node.body.body[0].type === "ThrowStatement" && node.body.body[0].type === "ThrowStatement" &&

View File

@ -134,5 +134,5 @@
"publish-release": "node Makefile.js publishRelease", "publish-release": "node Makefile.js publishRelease",
"test": "node Makefile.js test" "test": "node Makefile.js test"
}, },
"version": "5.11.0" "version": "5.11.1"
} }