Skip to content

Commit

Permalink
fix: tsc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Dec 19, 2024
1 parent 71f9f1a commit 9218257
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/commands/project/delete/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,7 @@ export class Source extends SfCommand<DeleteSourceJson> {
.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})`));

Expand Down

0 comments on commit 9218257

Please sign in to comment.