Skip to content

Commit

Permalink
Fix #99 that is cannot read event text
Browse files Browse the repository at this point in the history
  • Loading branch information
kasecato authored and kasecato committed Nov 21, 2020
1 parent fb433ca commit b9e1639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Lang/DocommentDomainCSharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class DocommentDomainCSharp extends DocommentDomain {
public IsTriggerDocomment(): boolean {

// NG: KeyCode is EMPTY
const eventText: string = this._event.text;
const eventText: string = this._event?.text;
if (eventText == null || eventText === '') {
return false;
}
Expand Down

0 comments on commit b9e1639

Please sign in to comment.