mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 05:37:45 +00:00
fixes #39806
This commit is contained in:
@@ -36,7 +36,7 @@ import { getBaseLabel } from 'vs/base/common/labels';
|
||||
import { IStateService } from 'vs/platform/state/common/state';
|
||||
import { StateService } from 'vs/platform/state/node/stateService';
|
||||
import { createLogService } from 'vs/platform/log/node/spdlogService';
|
||||
import { registerGlobalLogService, ILogService } from 'vs/platform/log/common/log';
|
||||
import { ILogService } from 'vs/platform/log/common/log';
|
||||
import { isPromiseCanceledError } from 'vs/base/common/errors';
|
||||
|
||||
const notFound = (id: string) => localize('notFound', "Extension '{0}' not found.", id);
|
||||
@@ -198,7 +198,6 @@ export function main(argv: ParsedArgs): TPromise<void> {
|
||||
const environmentService = new EnvironmentService(argv, process.execPath);
|
||||
const logService = createLogService('cli', environmentService);
|
||||
process.once('exit', () => logService.dispose());
|
||||
registerGlobalLogService(logService);
|
||||
|
||||
logService.info('main', argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user