@@ -314,7 +314,7 @@ export class PackageJsonUpdater {
314314
315315 let commandArgs : Array < string > = [ 'view' , packageName , 'versions' , '--json' ] ;
316316 if ( this . _rushConfiguration . packageManager === 'yarn' ) {
317- commandArgs = [ 'info' , packageName , 'versions' , '--json' ]
317+ commandArgs = [ 'info' , packageName , 'versions' , '--json' ] ;
318318 }
319319
320320 const allVersions : string =
@@ -326,13 +326,12 @@ export class PackageJsonUpdater {
326326
327327 let versionList : Array < string > ;
328328
329- if ( this . _rushConfiguration . packageManager === 'yarn' ) {
329+ if ( this . _rushConfiguration . packageManager === 'yarn' ) {
330330 versionList = JSON . parse ( allVersions ) . data ;
331331 } else {
332332 versionList = JSON . parse ( allVersions ) ;
333333 }
334334
335-
336335 console . log ( colors . gray ( `Found ${ versionList . length } available versions.` ) ) ;
337336
338337 for ( const version of versionList ) {
@@ -357,7 +356,7 @@ export class PackageJsonUpdater {
357356
358357 let commandArgs : Array < string > = [ 'view' , `${ packageName } @latest` , 'version' ] ;
359358 if ( this . _rushConfiguration . packageManager === 'yarn' ) {
360- commandArgs = [ 'info' , packageName , 'dist-tags.latest' , '--silent' ]
359+ commandArgs = [ 'info' , packageName , 'dist-tags.latest' , '--silent' ] ;
361360 }
362361
363362 selectedVersion = Utilities . executeCommandAndCaptureOutput (
0 commit comments