Skip to content

Commit e57f698

Browse files
authored
backups - fix hasBackups for empty windows (microsoft#160480)
1 parent f54c237 commit e57f698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/platform/backup/electron-main/backupMainService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export class BackupMainService implements IBackupMainService {
365365

366366
// Empty
367367
if (isEmptyWindowBackupInfo(backupLocation)) {
368-
backupPath = backupLocation.backupFolder;
368+
backupPath = join(this.backupHome, backupLocation.backupFolder);
369369
}
370370

371371
// Folder

0 commit comments

Comments
 (0)