diff options
author | Rich Trott <rtrott@gmail.com> | 2017-06-23 20:14:33 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-06-27 06:16:51 -0700 |
commit | aaee43473b7abc2522d9968a92fb4c819fc7d7b3 (patch) | |
tree | d9b7e84c5d7aa3fec9474773735f702dd7590778 /tools/eslint/lib/code-path-analysis | |
parent | fda25665be353396518927ad42a2f617816591c6 (diff) | |
download | node-new-aaee43473b7abc2522d9968a92fb4c819fc7d7b3.tar.gz |
tools: update to ESLint 4.1.0
Update ESLint to 4.1.0. This fixes a bug that previously prevented us
from using the new and stricter indentation checking.
Refs: https://github.com/eslint/eslint/issues/8721
PR-URL: https://github.com/nodejs/node/pull/13895
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'tools/eslint/lib/code-path-analysis')
-rw-r--r-- | tools/eslint/lib/code-path-analysis/code-path-state.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/eslint/lib/code-path-analysis/code-path-state.js b/tools/eslint/lib/code-path-analysis/code-path-state.js index a5adb554ff..7c8abb2071 100644 --- a/tools/eslint/lib/code-path-analysis/code-path-state.js +++ b/tools/eslint/lib/code-path-analysis/code-path-state.js @@ -240,7 +240,7 @@ class CodePathState { this.breakContext = null; this.currentSegments = []; - this.initialSegment = this.forkContext.head[ 0 ]; + this.initialSegment = this.forkContext.head[0]; // returnedSegments and thrownSegments push elements into finalSegments also. const final = this.finalSegments = []; |