Skip to content

Commit

Permalink
Merge pull request #473 from tgodzik/fix-when-null
Browse files Browse the repository at this point in the history
Fix issue when hover undefined or null
  • Loading branch information
tgodzik committed Dec 19, 2020
2 parents 575a263 + e0726ee commit eb7bbae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ function launchMetals(
new Position(o.range.start.line, o.range.start.character),
new Position(o.range.end.line, o.range.end.character)
),
hoverMessage: o.hoverMessage.value,
hoverMessage: o.hoverMessage?.value,
renderOptions: o.renderOptions,
};
});
Expand Down

0 comments on commit eb7bbae

Please sign in to comment.