From 39cc093a9bf4930568608934f25438c7207ca640 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Thu, 6 Sep 2018 22:17:31 +0200 Subject: [PATCH] :lipstick: --- src/vs/workbench/api/node/extHostOutputService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/workbench/api/node/extHostOutputService.ts b/src/vs/workbench/api/node/extHostOutputService.ts index d2a9206224e..a1c996e7d0b 100644 --- a/src/vs/workbench/api/node/extHostOutputService.ts +++ b/src/vs/workbench/api/node/extHostOutputService.ts @@ -77,13 +77,13 @@ export class ExtHostPushOutputChannel extends AbstractExtHostOutputChannel { } } -export class ExtHostPullOutputChannel extends AbstractExtHostOutputChannel { +export class ExtHostFileOutputChannel extends AbstractExtHostOutputChannel { private static _namePool = 1; private _appender: OutputAppender; constructor(name: string, outputDir: string, proxy: MainThreadOutputServiceShape) { - const fileName = `${ExtHostPullOutputChannel._namePool++}-${name}`; + const fileName = `${ExtHostFileOutputChannel._namePool++}-${name}`; const file = URI.file(posix.join(outputDir, `${fileName}.log`)); super(name, file, proxy); @@ -111,7 +111,7 @@ export class ExtHostOutputService { if (!name) { throw new Error('illegal argument `name`. must not be falsy'); } else { - return push ? new ExtHostPushOutputChannel(name, this._proxy) : new ExtHostPullOutputChannel(name, this._outputDir, this._proxy); + return push ? new ExtHostPushOutputChannel(name, this._proxy) : new ExtHostFileOutputChannel(name, this._outputDir, this._proxy); } } } -- GitLab