fix compilation errors

This commit is contained in:
Joao Moreno 2016-11-29 10:05:11 +01:00
parent 76386afcac
commit bb6c30a333

View file

@ -24,7 +24,7 @@ export class SCMMenus implements IDisposable {
private get cachedTitleMenuActions() { private get cachedTitleMenuActions() {
if (!this._titleMenuActions) { if (!this._titleMenuActions) {
this._titleMenuActions = { primary: [], secondary: [] }; this._titleMenuActions = { primary: [], secondary: [] };
fillInActions(this.titleMenu, this._titleMenuActions); fillInActions(this.titleMenu, null, this._titleMenuActions);
} }
return this._titleMenuActions; return this._titleMenuActions;
} }
@ -53,7 +53,7 @@ export class SCMMenus implements IDisposable {
get context(): IAction[] { get context(): IAction[] {
const result = []; const result = [];
fillInActions(this.contextMenu, result); fillInActions(this.contextMenu, null, result);
return result; return result;
} }