Skip to content

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Oct 2, 2024
1 parent c7cee06 commit da2df8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit da2df8a

Please sign in to comment.