File tree Expand file tree Collapse file tree
packages/contentstack-bulk-operations/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -408,12 +408,12 @@ export abstract class BaseBulkCommand extends Command {
408408 * the label with the branch only when one is set. Shared with bulk-taxonomies via inheritance.
409409 */
410410 protected beginOperationSummary ( itemCount : number ) : void {
411- const operationLabel = ( this . bulkOperationConfig . operation || 'operation' ) . toString ( ) . toUpperCase ( ) ;
412- const branchName = this . bulkOperationConfig . branch || '' ;
411+ const operationLabel = ( this . bulkOperationConfig ? .operation || 'operation' ) . toString ( ) . toUpperCase ( ) ;
412+ const branchName = this . bulkOperationConfig ? .branch || '' ;
413413 CLIProgressManager . initializeGlobalSummary (
414414 branchName ? `BULK ${ operationLabel } -${ branchName } ` : `BULK ${ operationLabel } ` ,
415415 branchName ,
416- $t ( messages . EXECUTING_OPERATION , { count : itemCount } ) ,
416+ $t ( messages . EXECUTING_OPERATION , { count : itemCount } )
417417 ) ;
418418 }
419419
You can’t perform that action at this time.
0 commit comments