From e1abb31a1c85631b39e4ec0c27914fb7b2368359 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Tue, 24 Sep 2024 13:24:20 -0700 Subject: [PATCH] run lint --- src/object.js | 2 +- src/parse.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/object.js b/src/object.js index e0bff5313..610f07982 100644 --- a/src/object.js +++ b/src/object.js @@ -248,7 +248,7 @@ ReflectionObject.prototype.setParsedOption = function setParsedOption(name, valu var features = parsedOptions.find(x => {return Object.prototype.hasOwnProperty.call(x, "features");}); this._proto_features = features.features || {}; } - + return this; }; diff --git a/src/parse.js b/src/parse.js index c999aa3ba..2da24976e 100644 --- a/src/parse.js +++ b/src/parse.js @@ -372,6 +372,7 @@ function parse(source, root, options) { case "required": if (edition) throw illegal(token); + break; case "repeated": parseField(type, token); break;