提交 cfe4c959 编写于 作者: S Sandeep Somavarapu

fix naming

上级 a98a127c
......@@ -15,7 +15,6 @@ import { IFileService } from 'vs/platform/files/common/files';
import { IWorkbenchEnvironmentService } from 'vs/workbench/services/environment/common/environmentService';
import { dirname, basename, isEqual } from 'vs/base/common/resources';
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
import { startsWith } from 'vs/base/common/strings';
export class OpenLogsFolderAction extends Action {
......@@ -108,7 +107,7 @@ export class OpenSessionLogFileAction extends Action {
const logFileResult = await this.quickInputService.pick(
this.getLogFiles(URI.parse(sessionResult.id!)).then(logFiles => logFiles.map(s => (<IQuickPickItem>{
id: s.toString(),
label: startsWith(basename(s), 'window') ? nls.localize('window', "Window") : basename(s)
label: basename(s)
}))),
{
canPickMany: false,
......
......@@ -76,7 +76,7 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
constructor(readonly options: IBrowserWorkbenchEnvironemntConstructionOptions) {
this.args = { _: [] };
this.logsPath = options.logsPath.path;
this.logFile = joinPath(options.logsPath, `window-${generateUuid()}.log`);
this.logFile = joinPath(options.logsPath, 'window.log');
this.appRoot = '/web/';
this.appNameLong = 'Visual Studio Code - Web';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册