mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
make backup path URI
clean up user data provider
This commit is contained in:
@@ -161,7 +161,7 @@ class CodeMain {
|
||||
environmentService.logsPath,
|
||||
environmentService.globalStorageHome,
|
||||
environmentService.workspaceStorageHome,
|
||||
environmentService.backupHome
|
||||
environmentService.backupHome.fsPath
|
||||
].map((path): undefined | Promise<void> => path ? mkdirp(path) : undefined));
|
||||
|
||||
// Configuration service
|
||||
|
||||
@@ -1331,7 +1331,7 @@ export class WindowsManager extends Disposable implements IWindowsMainService {
|
||||
// For all other cases we first call into registerEmptyWindowBackupSync() to set it before
|
||||
// loading the window.
|
||||
if (options.emptyWindowBackupInfo) {
|
||||
configuration.backupPath = join(this.environmentService.backupHome, options.emptyWindowBackupInfo.backupFolder);
|
||||
configuration.backupPath = join(this.environmentService.backupHome.fsPath, options.emptyWindowBackupInfo.backupFolder);
|
||||
}
|
||||
|
||||
let window: ICodeWindow | undefined;
|
||||
|
||||
Reference in New Issue
Block a user