Skip to content

Commit

Permalink
#78168 Fix strict null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Nov 11, 2019
1 parent 3c610a6 commit 9cb1cb5
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,8 @@ export class ExtensionEditor extends BaseEditor {
private setSubText(extension: IExtension, reloadAction: ReloadAction, template: IExtensionEditorTemplate): void {
hide(template.subtextContainer);

const ignoreAction = this.instantiationService.createInstance(IgnoreExtensionRecommendationAction);
const undoIgnoreAction = this.instantiationService.createInstance(UndoIgnoreExtensionRecommendationAction);
ignoreAction.extension = extension;
undoIgnoreAction.extension = extension;
const ignoreAction = this.instantiationService.createInstance(IgnoreExtensionRecommendationAction, extension);
const undoIgnoreAction = this.instantiationService.createInstance(UndoIgnoreExtensionRecommendationAction, extension);
ignoreAction.enabled = false;
undoIgnoreAction.enabled = false;

Expand Down
Loading

0 comments on commit 9cb1cb5

Please sign in to comment.