mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-19 06:39:55 +01:00
sandbox - lift some environment properties that are only used in workbench up
This commit is contained in:
@@ -299,7 +299,7 @@ export async function main(argv: NativeParsedArgs): Promise<void> {
|
||||
const services = new ServiceCollection();
|
||||
const disposables = new DisposableStore();
|
||||
|
||||
const environmentService = new EnvironmentService(argv, process.execPath);
|
||||
const environmentService = new EnvironmentService(argv);
|
||||
const logService: ILogService = new SpdLogService('cli', environmentService.logsPath, getLogLevel(environmentService));
|
||||
process.once('exit', () => logService.dispose());
|
||||
logService.info('main', argv);
|
||||
|
||||
Reference in New Issue
Block a user