diff options
author | cjihrig <cjihrig@gmail.com> | 2018-12-26 20:58:57 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-12-29 13:36:31 -0500 |
commit | 1d3a414519a5b55eedb75ca938b54f8e6e4e79f5 (patch) | |
tree | 768e5c0b0570935ffc6d2e41557df2ebe3052f2e /tools | |
parent | c66c0732e0887c3f07a3e387d8a90b432eae134e (diff) | |
download | android-node-v8-1d3a414519a5b55eedb75ca938b54f8e6e4e79f5.tar.gz android-node-v8-1d3a414519a5b55eedb75ca938b54f8e6e4e79f5.tar.bz2 android-node-v8-1d3a414519a5b55eedb75ca938b54f8e6e4e79f5.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node_modules/eslint/lib/rules/no-useless-catch.js | 1 | ||||
-rw-r--r-- | tools/node_modules/eslint/package.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/node_modules/eslint/lib/rules/no-useless-catch.js b/tools/node_modules/eslint/lib/rules/no-useless-catch.js index 3211ed2c73..e4284cfb4f 100644 --- a/tools/node_modules/eslint/lib/rules/no-useless-catch.js +++ b/tools/node_modules/eslint/lib/rules/no-useless-catch.js @@ -27,6 +27,7 @@ module.exports = { return { CatchClause(node) { if ( + node.param && node.param.type === "Identifier" && node.body.body.length && node.body.body[0].type === "ThrowStatement" && diff --git a/tools/node_modules/eslint/package.json b/tools/node_modules/eslint/package.json index c19f06c816..0be3a7073a 100644 --- a/tools/node_modules/eslint/package.json +++ b/tools/node_modules/eslint/package.json @@ -134,5 +134,5 @@ "publish-release": "node Makefile.js publishRelease", "test": "node Makefile.js test" }, - "version": "5.11.0" + "version": "5.11.1" }
\ No newline at end of file |