Skip to content

Commit

Permalink
fix: early brace
Browse files Browse the repository at this point in the history
  • Loading branch information
chulanovskyi-bs committed Jul 12, 2024
1 parent dd309db commit e723b79
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions reverse_engineering/SchemaCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,7 @@ module.exports = {

return {};
}
}
},
},

getScalar(value) {
return typeof value;
Expand Down Expand Up @@ -426,9 +425,13 @@ module.exports = {
},

setProperties(schema, fieldData) {
const properties = helper.getFieldProperties(schema.type, { mode: fieldData.type, ...fieldData}, {
'stringfields': 'fields',
});
const properties = helper.getFieldProperties(
schema.type,
{ mode: fieldData.type, ...fieldData },
{
'stringfields': 'fields',
},
);

for (let propName in properties) {
if (propName === 'fields') {
Expand Down

0 comments on commit e723b79

Please sign in to comment.