@@ -286,9 +286,8 @@ export class CommandCenter {
286286
287287 const basename = path . basename ( resource . uri . fsPath ) ;
288288 const message = localize ( 'confirm clean' , "Are you sure you want to clean changes in {0}?" , basename ) ;
289- const yes = localize ( 'yes' , "Yes" ) ;
290- const no = localize ( 'no, keep them' , "No, keep them" ) ;
291- const pick = await window . showQuickPick ( [ yes , no ] , { placeHolder : message } ) ;
289+ const yes = localize ( 'clean' , "Clean Changes" ) ;
290+ const pick = await window . showWarningMessage ( message , { modal : true } , yes ) ;
292291
293292 if ( pick !== yes ) {
294293 return ;
@@ -301,9 +300,8 @@ export class CommandCenter {
301300 @CommandCenter . CatchErrors
302301 async cleanAll ( ) : Promise < void > {
303302 const message = localize ( 'confirm clean all' , "Are you sure you want to clean all changes?" ) ;
304- const yes = localize ( 'yes' , "Yes" ) ;
305- const no = localize ( 'no, keep them' , "No, keep them" ) ;
306- const pick = await window . showQuickPick ( [ yes , no ] , { placeHolder : message } ) ;
303+ const yes = localize ( 'clean' , "Clean Changes" ) ;
304+ const pick = await window . showWarningMessage ( message , { modal : true } , yes ) ;
307305
308306 if ( pick !== yes ) {
309307 return ;
0 commit comments