this.choiceService.choose(Severity.Info,nls.localize('warnEscalation',"Code will now prompt with 'osascript' for Administrator privileges to install the shell command."),choices).then(choice=>{
this.choiceService.choose(Severity.Info,nls.localize('warnEscalation',"Code will now prompt with 'osascript' for Administrator privileges to install the shell command."),choices,1,true).then(choice=>{
@@ -238,7 +238,7 @@ export class FileService implements IFileService {
constabsolutePath=resource.fsPath;
constresult=shell.moveItemToTrash(absolutePath);
if(!result){
returnTPromise.wrapError<void>(newError(nls.localize('trashFailed',"Failed to move '{0}' to the trash",paths.basename(absolutePath))));
returnTPromise.wrapError<void>(newError(isWindows?nls.localize('binFailed',"Failed to move '{0}' to the recycle bin",paths.basename(absolutePath)):nls.localize('trashFailed',"Failed to move '{0}' to the trash",paths.basename(absolutePath))));