IBackupMainService.doesWorkspaceHaveBackup -> hasWorkspaceBackup

This commit is contained in:
Daniel Imms
2016-11-09 10:44:04 -08:00
parent 78971e80cb
commit 93385fba76
3 changed files with 6 additions and 6 deletions

View File

@@ -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);
}
}