File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
packages/community-cli-plugin/src/commands/start Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -104,16 +104,17 @@ export default class OpenDebuggerKeyboardHandler {
104104 }
105105 const firstNineTargets = targets . slice ( 0 , 9 ) ;
106106 const hasDuplicateTitles =
107- new Set ( firstNineTargets . map ( target => target . title ) ) . size < firstNineTargets . length ;
107+ new Set ( firstNineTargets . map ( target => target . title ) ) . size <
108+ firstNineTargets . length ;
108109
109110 this . #setTerminalMenu(
110111 `Multiple debug targets available, please select:\n ${ firstNineTargets
111- . map (
112- ( { title , description } , i ) => {
113- const descriptionSuffix = hasDuplicateTitles ? ` (${ description } )` : '' ;
114- return ` ${ styleText ( [ 'white' , 'inverse' ] , ` ${ i + 1 } ` ) } - " ${ title } ${ descriptionSuffix } "` ;
115- }
116- )
112+ . map ( ( { title , description } , i ) => {
113+ const descriptionSuffix = hasDuplicateTitles
114+ ? ` (${ description } )`
115+ : '' ;
116+ return ` ${ styleText ( [ 'white' , 'inverse' ] , ` ${ i + 1 } ` ) } - " ${ title } ${ descriptionSuffix } "` ;
117+ } )
117118 . join ( '\n ' ) } `,
118119 ) ;
119120 }
You can’t perform that action at this time.
0 commit comments