this.dialogService.show(Severity.Info,nls.localize('warnEscalation',"Code will now prompt with 'osascript' for Administrator privileges to install the shell command."),buttons,{cancelId:1}).then(choice=>{
switch(choice){
this.dialogService.show(Severity.Info,nls.localize('warnEscalation',"Code will now prompt with 'osascript' for Administrator privileges to install the shell command."),buttons,{cancelId:1}).then(result=>{
this.dialogService.show(Severity.Info,nls.localize('warnEscalationUninstall',"Code will now prompt with 'osascript' for Administrator privileges to uninstall the shell command."),buttons,{cancelId:1}).then(choice=>{
const{choice}=awaitthis.dialogService.show(Severity.Info,nls.localize('warnEscalationUninstall',"Code will now prompt with 'osascript' for Administrator privileges to uninstall the shell command."),buttons,{cancelId:1});
switch(choice){
case0/* OK */:
constcommand='osascript -e "do shell script \\"rm \''+this.target+'\'\\" with administrator privileges"';
...
...
@@ -182,7 +182,6 @@ class UninstallAction extends Action {