From da2df8af21f733a15ccebfd06eb5ffa951416e16 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Tue, 1 Oct 2024 23:31:34 -0700 Subject: [PATCH] run lint --- src/object.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/object.js b/src/object.js index be56b7b95..6cafcaab4 100644 --- a/src/object.js +++ b/src/object.js @@ -174,11 +174,11 @@ ReflectionObject.prototype.resolve = function resolve() { ReflectionObject.prototype._resolveFeatures = function _resolveFeatures() { var defaults = {}; - if (this.root.getOption('syntax') === 'proto2') { + if (this.root.getOption("syntax") === "proto2") { defaults = Object.assign({}, proto2Defaults); - } else if (this.root.getOption('syntax') === 'proto3') { - defaults = Object.assign({}, proto3Defaults) - } else if (this.root.getOption('edition') === '2023') { + } else if (this.root.getOption("syntax") === "proto3") { + defaults = Object.assign({}, proto3Defaults); + } else if (this.root.getOption("edition") === "2023") { defaults = Object.assign({}, editions2023Defaults); }