Skip to content

Commit

Permalink
fix #32874
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Aug 21, 2017
1 parent a87dd9c commit 9486562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/node/extHostMessageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class ExtHostMessageService {
if (typeof optionsOrFirstItem === 'string' || isMessageItem(optionsOrFirstItem)) {
items = [optionsOrFirstItem, ...rest];
} else {
options.modal = optionsOrFirstItem.modal;
options.modal = optionsOrFirstItem && optionsOrFirstItem.modal;
items = rest;
}

Expand Down

0 comments on commit 9486562

Please sign in to comment.