Archived
1
0

fixup: fix comment in server.ts

This commit is contained in:
Joe Previte 2021-03-22 10:39:03 -07:00
parent 19c2f31f22
commit aae17cb749
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -205,14 +205,10 @@ export class Vscode {
}
}
// References:
// ../../electron-browser/sharedProcess/sharedProcessMain.ts#L148
// ../../../code/electron-main/app.ts
private async initializeServices(args: NativeParsedArgs): Promise<void> {
/*
NOTE@coder: this initializeServices is loosely based off this file:
Reference: - ../../electron-browser/sharedProcess/sharedProcessMain.ts#L148
If upstream changes cause conflicts, look there ^.
3/11/21 @jsjoeio
*/
const environmentService = new NativeEnvironmentService(args);
// https://github.com/cdr/code-server/issues/1693
fs.mkdirSync(environmentService.globalStorageHome.fsPath, { recursive: true });