From 935608d23d180ec2c01b0aee80235c851c6c2d48 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Tue, 27 Jan 2026 18:30:58 +0000 Subject: [PATCH] fix: format condition for attribute import check in DataSourceGenerator --- Scripts/TerraformProvider/Core/DataSourceGenerator.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/TerraformProvider/Core/DataSourceGenerator.ts b/Scripts/TerraformProvider/Core/DataSourceGenerator.ts index f3dad13042..036ee1de24 100644 --- a/Scripts/TerraformProvider/Core/DataSourceGenerator.ts +++ b/Scripts/TerraformProvider/Core/DataSourceGenerator.ts @@ -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" + ); }, );