fix: format condition for attribute import check in DataSourceGenerator

This commit is contained in:
Nawaz Dhandala
2026-01-27 18:30:58 +00:00
parent 4a3000d3c3
commit 935608d23d

View File

@@ -54,7 +54,9 @@ export class DataSourceGenerator {
// Check if we need the attr import (for list/map/set types)
const needsAttrImport: boolean = Object.values(dataSource.schema).some(
(attr: any) => {
return attr.type === "list" || attr.type === "map" || attr.type === "set";
return (
attr.type === "list" || attr.type === "map" || attr.type === "set"
);
},
);