@@ -71,15 +71,15 @@ export default class ApexDeploy extends SfdxCommand {
7171 try {
7272 const apexSaveResult = await conn . tooling . sobject ( 'ApexClass' ) . create ( apexClass ) as SobjectResult ;
7373 if ( apexSaveResult . success ) {
74- this . ux . stopSpinner ( chalk . bold . green ( 'Apex Class Successfully Created' ) ) ;
74+ this . ux . stopSpinner ( chalk . bold . green ( 'Apex Class Successfully Created ✔ ' ) ) ;
7575 } else {
7676 this . ux . table ( apexSaveResult . errors ) ;
77- this . ux . stopSpinner ( chalk . bold . red ( 'Apex Class Creation Failed' ) ) ;
77+ this . ux . stopSpinner ( chalk . bold . red ( 'Apex Class Creation Failed × ' ) ) ;
7878 }
7979 return apexSaveResult as any ; // tslint:disable-line:no-any
8080 } catch ( ex ) {
8181 displaylog ( chalk . bold . red ( ex ) , this . ux ) ;
82- this . ux . stopSpinner ( chalk . bold . red ( 'Apex Class Creation Failed' ) ) ;
82+ this . ux . stopSpinner ( chalk . bold . red ( 'Apex Class Creation Failed × ' ) ) ;
8383 }
8484 }
8585 }
@@ -89,15 +89,15 @@ export default class ApexDeploy extends SfdxCommand {
8989 const deployAction = new Deploy ( 'ApexContainer' , 'ApexClassMember' , classId , filebody , conn ) ;
9090 const deployResult = await deployAction . deployMetadata ( ) as DeployResult ;
9191 if ( deployResult . success ) {
92- this . ux . stopSpinner ( chalk . bold . greenBright ( 'Apex Class Successfully Updated' ) ) ;
92+ this . ux . stopSpinner ( chalk . bold . greenBright ( 'Apex Class Successfully Updated ✔ ' ) ) ;
9393 } else {
9494 if ( deployResult . queryResult . records . length > 0 && deployResult . queryResult . records [ 0 ] . DeployDetails . componentFailures . length > 0 ) {
9595 display ( deployResult , this . ux ) ;
9696 }
9797 if ( typeof deployResult . error !== 'undefined' ) {
9898 displaylog ( chalk . bold . redBright ( deployResult . error ) , this . ux ) ;
9999 }
100- this . ux . stopSpinner ( chalk . bold . redBright ( 'Apex Class Update Failed' ) ) ;
100+ this . ux . stopSpinner ( chalk . bold . redBright ( 'Apex Class Update Failed ✖ ' ) ) ;
101101 }
102102 return deployResult ;
103103 }
0 commit comments