diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2017-10-14 07:39:20 -0400 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2017-10-19 09:00:34 -0400 |
commit | 7babce90c9c87ccfa63169e86c7c26cdef3ebc26 (patch) | |
tree | 0f25530086c1b4d6949ccf9c8f8e6241ef1ab583 /tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst | |
parent | 10ef56359e5b4e3eb1e0ec96767375420b7e0fe5 (diff) | |
download | android-node-v8-7babce90c9c87ccfa63169e86c7c26cdef3ebc26.tar.gz android-node-v8-7babce90c9c87ccfa63169e86c7c26cdef3ebc26.tar.bz2 android-node-v8-7babce90c9c87ccfa63169e86c7c26cdef3ebc26.zip |
tools: update to ESLint 4.8.0
PR-URL: https://github.com/nodejs/node/pull/16199
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst')
-rw-r--r-- | tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst b/tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst index 7b2906a60b..389678e345 100644 --- a/tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst +++ b/tools/eslint/node_modules/ajv-keywords/keywords/dot/switch.jst @@ -10,7 +10,7 @@ {{# def._validateSwitchRule:if }} {{ $it.createErrors = true; }} {{# def.resetCompositeRule }} - {{=$ifPassed}} = valid{{=$it.level}}; + {{=$ifPassed}} = {{=$nextValid}}; #}} {{## def.validateThen: @@ -18,7 +18,7 @@ {{? $sch.then === false }} {{# def.error:'switch' }} {{?}} - var valid{{=$it.level}} = {{= $sch.then }}; + var {{=$nextValid}} = {{= $sch.then }}; {{??}} {{# def._validateSwitchRule:then }} {{?}} @@ -68,6 +68,6 @@ var {{=$ifPassed}}; {{= $closingBraces }} -var {{=$valid}} = valid{{=$it.level}}; +var {{=$valid}} = {{=$nextValid}}; {{# def.cleanUp }} |