mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
IBackupMainService.doesWorkspaceHaveBackup -> hasWorkspaceBackup
This commit is contained in:
@@ -167,7 +167,7 @@ export class LifecycleService implements ILifecycleService {
|
||||
// Clear out any workspace backups from workspaces.json that don't have any backups
|
||||
if (vscodeWindow.openedWorkspacePath) {
|
||||
const workspaceResource = Uri.file(vscodeWindow.openedWorkspacePath);
|
||||
if (!this.backupService.doesWorkspaceHaveBackups(workspaceResource)) {
|
||||
if (!this.backupService.hasWorkspaceBackup(workspaceResource)) {
|
||||
this.backupService.removeWorkspaceBackupPathSync(workspaceResource);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user