File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -439,15 +439,11 @@ export default class Package {
439439 if ( this . cliConfig ?. release . enabled ) {
440440 res = await this . updateReleaseTags ( ) ;
441441
442- const statusText = Object . entries ( res . data ?. tags || { } )
443- . map ( ( [ tag , version ] ) => `${ tag } : ${ version || "-" } ` )
444- . join ( ", " ) ;
445-
446442 logger . log ( "Update release tags:" , res . ok
447443 ? ( res . data . updated
448- ? ansi . ok ( " Updated " ) + ", " + statusText
449- : "Not modified, " + statusText )
450- : ansi . error ( " " + res . statusText + " " ) ) ;
444+ ? ansi . ok ( " Updated " )
445+ : "Not modified" )
446+ : ansi . error ( ` ${ res . statusText } ` ) ) ;
451447
452448 if ( ! res . ok ) return res ;
453449 }
Original file line number Diff line number Diff line change @@ -89,14 +89,10 @@ export default class Npm {
8989 error = true ;
9090 }
9191
92- const statusText = Object . entries ( res . data ?. tags || { } )
93- . map ( ( [ tag , version ] ) => `${ tag } : ${ version || "-" } ` )
94- . join ( ", " ) ;
95-
9692 logger . log ( "Update npm tags:" , res . ok
9793 ? ( res . data . updated
98- ? ansi . ok ( " Updated " ) + ", " + statusText
99- : "Not modified, " + statusText )
94+ ? ansi . ok ( " Updated " )
95+ : "Not modified" )
10096 : ansi . error ( " " + res . statusText + " " ) ) ;
10197
10298 if ( ! res . ok && error ) {
You can’t perform that action at this time.
0 commit comments