From 92182574f1e5075160a0d21717d697a84fef897a Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Thu, 19 Dec 2024 14:33:53 -0700 Subject: [PATCH] fix: tsc issue --- src/commands/project/delete/source.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands/project/delete/source.ts b/src/commands/project/delete/source.ts index 103cc03d..67dc8284 100644 --- a/src/commands/project/delete/source.ts +++ b/src/commands/project/delete/source.ts @@ -404,9 +404,7 @@ export class Source extends SfCommand { .filter(sourceComponentIsNotInMixedDeployDelete(this.mixedDeployDelete)) .flatMap((c) => // for custom labels, print each custom label to be deleted, not the whole file - isNonDecomposedCustomLabelsOrCustomLabel(c) - ? [`${c.type.name}:${c.fullName}`] - : [c.xml, ...c.walkContent()] ?? [] + isNonDecomposedCustomLabelsOrCustomLabel(c) ? [`${c.type.name}:${c.fullName}`] : [c.xml, ...c.walkContent()] ) .concat(this.mixedDeployDelete.delete.map((fr) => `${fr.fullName} (${fr.filePath})`));