You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
primaryButton=isWindows ? nls.localize('deleteButtonLabelRecycleBin',"&&Move to Recycle Bin") : nls.localize({key: 'deleteButtonLabelTrash',comment: ['&& denotes a mnemonic']},"&&Move to Trash");
152
152
}else{
153
153
primaryButton=nls.localize({key: 'deleteButtonLabel',comment: ['&& denotes a mnemonic']},"&&Delete");
message=nls.localize('dirtyMessageFilesDelete',"You are deleting files with unsaved changes. Do you want to continue?");
165
169
}elseif(distinctElements[0].isDirectory){
166
-
if(dirtyWorkingCopies.length===1){
170
+
if(dirtyWorkingCopies.size===1){
167
171
message=nls.localize('dirtyMessageFolderOneDelete',"You are deleting a folder {0} with unsaved changes in 1 file. Do you want to continue?",distinctElements[0].name);
168
172
}else{
169
-
message=nls.localize('dirtyMessageFolderDelete',"You are deleting a folder {0} with unsaved changes in {1} files. Do you want to continue?",distinctElements[0].name,dirtyWorkingCopies.length);
173
+
message=nls.localize('dirtyMessageFolderDelete',"You are deleting a folder {0} with unsaved changes in {1} files. Do you want to continue?",distinctElements[0].name,dirtyWorkingCopies.size);
170
174
}
171
175
}else{
172
176
message=nls.localize('dirtyMessageFileDelete',"You are deleting {0} with unsaved changes. Do you want to continue?",distinctElements[0].name);
@@ -274,7 +278,7 @@ async function deleteFiles(workingCopyService: IWorkingCopyService, workingCopyF
0 commit comments