From e00c83b3d166234c0771f8d55ff6f5c482728054 Mon Sep 17 00:00:00 2001 From: mertmit Date: Wed, 14 Aug 2024 16:23:06 +0300 Subject: [PATCH] fix: unnecessary optional chaining Signed-off-by: mertmit --- .../src/modules/jobs/jobs/export-import/import.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts index 9d8d3f295f..346a407ea2 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts @@ -1103,7 +1103,7 @@ export class ImportService { const colIds = col.colOptions?.formula.match(/(?<=\{\{).*?(?=\}\})/gm); if (colIds && colIds.length > 0) { relatedColIds.push( - ...col.colOptions.formula?.match(/(?<=\{\{).*?(?=\}\})/gm), + ...col.colOptions.formula.match(/(?<=\{\{).*?(?=\}\})/gm), ); } }