Skip to content

Commit 9218257

Browse files
committed
fix: tsc issue
1 parent 71f9f1a commit 9218257

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commands/project/delete/source.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,7 @@ export class Source extends SfCommand<DeleteSourceJson> {
404404
.filter(sourceComponentIsNotInMixedDeployDelete(this.mixedDeployDelete))
405405
.flatMap((c) =>
406406
// for custom labels, print each custom label to be deleted, not the whole file
407-
isNonDecomposedCustomLabelsOrCustomLabel(c)
408-
? [`${c.type.name}:${c.fullName}`]
409-
: [c.xml, ...c.walkContent()] ?? []
407+
isNonDecomposedCustomLabelsOrCustomLabel(c) ? [`${c.type.name}:${c.fullName}`] : [c.xml, ...c.walkContent()]
410408
)
411409
.concat(this.mixedDeployDelete.delete.map((fr) => `${fr.fullName} (${fr.filePath})`));
412410

0 commit comments

Comments
 (0)