File tree Expand file tree Collapse file tree
src/commands/package/version/create Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,15 @@ export class PackageVersionCreateListCommand extends SfCommand<CreateListCommand
9494 this . table ( { data, overflow : 'wrap' , title : chalk . blue ( `Package Version Create Requests [${ results . length } ]` ) } ) ;
9595 }
9696
97- return results ;
97+ // Filter out unwanted fields from JSON output
98+ // TotalNumberOfMetadataFiles and TotalSizeOfMetadataFiles are intentionally excluded from display
99+ const filteredResults = results . map ( ( r ) => {
100+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
101+ const { TotalNumberOfMetadataFiles, TotalSizeOfMetadataFiles, ...filteredResult } = r ;
102+ return filteredResult ;
103+ } ) ;
104+
105+ return filteredResults as CreateListCommandResult ;
98106 }
99107
100108 // Queries Package2Version for the name and version number of the packages and adds that data
You can’t perform that action at this time.
0 commit comments