mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 15:01:57 +01:00
make commit id part of the cached data path, #23883
This commit is contained in:
@@ -371,7 +371,7 @@ function createPaths(environmentService: IEnvironmentService): TPromise<any> {
|
||||
environmentService.extensionsPath,
|
||||
environmentService.nodeCachedDataDir
|
||||
];
|
||||
return TPromise.join(paths.map(p => mkdirp(p))) as TPromise<any>;
|
||||
return TPromise.join(paths.map(p => p && mkdirp(p))) as TPromise<any>;
|
||||
}
|
||||
|
||||
function createServices(args: ParsedArgs): IInstantiationService {
|
||||
|
||||
@@ -730,7 +730,7 @@ export class WindowsManager implements IWindowsMainService {
|
||||
configuration.filesToOpen = filesToOpen;
|
||||
configuration.filesToCreate = filesToCreate;
|
||||
configuration.filesToDiff = filesToDiff;
|
||||
configuration.nodeCachedDataDir = this.environmentService.isBuilt && this.environmentService.nodeCachedDataDir;
|
||||
configuration.nodeCachedDataDir = this.environmentService.nodeCachedDataDir;
|
||||
|
||||
return configuration;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user