summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-01-18 16:09:54 -0500
committercjihrig <cjihrig@gmail.com>2019-01-20 20:31:03 -0500
commitaf102c6d277165a641a4082b0641388807985875 (patch)
treeaf55616aa0751e0896699899a2d3fc2f9c7f1802 /tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js
parentd1dee495db1451e74f5364c8687148a53ff0b50d (diff)
downloadandroid-node-v8-af102c6d277165a641a4082b0641388807985875.tar.gz
android-node-v8-af102c6d277165a641a4082b0641388807985875.tar.bz2
android-node-v8-af102c6d277165a641a4082b0641388807985875.zip
tools: update ESLint to 5.12.1
Update ESLint to 5.12.1 PR-URL: https://github.com/nodejs/node/pull/25573 Reviewed-By: Wyatt Preul <wpreul@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Diffstat (limited to 'tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js')
-rw-r--r--tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js
index 994b091230..819c6f8a4b 100644
--- a/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js
+++ b/tools/node_modules/eslint/node_modules/ajv/lib/dotjs/anyOf.js
@@ -52,7 +52,8 @@ module.exports = function generate_anyOf(it, $keyword, $ruleType) {
out += ' {} ';
}
out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
- if (!it.compositeRule && $breakOnError) { /* istanbul ignore if */
+ if (!it.compositeRule && $breakOnError) {
+ /* istanbul ignore if */
if (it.async) {
out += ' throw new ValidationError(vErrors); ';
} else {