From 44b539e3dbe3171b8c5d4790a9aea0394b028bc5 Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Tue, 3 Sep 2024 12:20:32 -0600 Subject: [PATCH] fix: add EmailTemplateFolder --- src/collections/componentSet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collections/componentSet.ts b/src/collections/componentSet.ts index 7c3bd61f8..622a71a4a 100644 --- a/src/collections/componentSet.ts +++ b/src/collections/componentSet.ts @@ -738,7 +738,7 @@ const constructFullName = (registry: RegistryAccess, type: MetadataType, fullNam // Some InFolder types are different. e.g., Report/ReportFolder & Dashboard/DashboardFolder. // ReportFolders are deployed/retrieved as Reports. If a ReportFolder is being added append // a "/" so the metadata API can identify it as a folder. - ['DashboardFolder', 'ReportFolder'].includes(type.name) && !fullName.endsWith('/') + ['DashboardFolder', 'ReportFolder', 'EmailTemplateFolder'].includes(type.name) && !fullName.endsWith('/') ? `${fullName}/` : registry.getParentType(type.name)?.strategies?.recomposition === 'startEmpty' && fullName.includes('.') ? // they're reassembled like CustomLabels.MyLabel