sandbox - lift some environment properties that are only used in workbench up

This commit is contained in:
Benjamin Pasero
2020-09-03 15:03:54 +02:00
parent ae942354ab
commit 0280c04dc6
11 changed files with 68 additions and 62 deletions
+1 -1
View File
@@ -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);