提交 edc16f0d 编写于 作者: I isidor

fix build

上级 742bb730
......@@ -23,7 +23,6 @@ import { KeybindingsResolver } from 'vs/code/electron-main/keyboard';
import { IWindowsMainService, IWindowsCountChangedEvent } from 'vs/platform/windows/electron-main/windows';
import { IHistoryMainService } from 'vs/platform/history/common/history';
import { IWorkspaceIdentifier, getWorkspaceLabel, ISingleFolderWorkspaceIdentifier, isSingleFolderWorkspaceIdentifier } from 'vs/platform/workspaces/common/workspaces';
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
interface IMenuItemClickHandler {
inDevTools: (contents: Electron.WebContents) => void;
......@@ -66,8 +65,7 @@ export class CodeMenu {
@IWindowsService private windowsService: IWindowsService,
@IEnvironmentService private environmentService: IEnvironmentService,
@ITelemetryService private telemetryService: ITelemetryService,
@IHistoryMainService private historyMainService: IHistoryMainService,
@IWorkspaceContextService private contextService: IWorkspaceContextService
@IHistoryMainService private historyMainService: IHistoryMainService
) {
this.nativeTabMenuItems = [];
......@@ -492,7 +490,7 @@ export class CodeMenu {
let label: string;
let path: string;
if (isSingleFolderWorkspaceIdentifier(workspace) || typeof workspace === 'string') {
label = unmnemonicLabel(getPathLabel(workspace, this.environmentService, this.contextService));
label = unmnemonicLabel(getPathLabel(workspace, this.environmentService));
path = workspace;
} else {
label = getWorkspaceLabel(workspace, this.environmentService, { verbose: true });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册