From e723b799ec672e2ccb0b1d3443d7a694d756a050 Mon Sep 17 00:00:00 2001 From: chulanovskyi Date: Fri, 12 Jul 2024 18:01:12 +0300 Subject: [PATCH] fix: early brace --- reverse_engineering/SchemaCreator.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/reverse_engineering/SchemaCreator.js b/reverse_engineering/SchemaCreator.js index 621765e..462379e 100644 --- a/reverse_engineering/SchemaCreator.js +++ b/reverse_engineering/SchemaCreator.js @@ -251,8 +251,7 @@ module.exports = { return {}; } - } -}, + }, getScalar(value) { return typeof value; @@ -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') {