This commit is contained in:
Joao Moreno
2017-12-06 17:34:11 +01:00
parent f71f52f666
commit 4ecad4714f
17 changed files with 59 additions and 76 deletions

View File

@@ -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);