Skip to content

Commit

Permalink
fix(breakpoint): null pointer exception (#103)
Browse files Browse the repository at this point in the history
closes #96
  • Loading branch information
derevnjuk authored Oct 5, 2020
1 parent 4a9bf7f commit 4e6dfd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scan/Breakpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export abstract class Breakpoint {
}

protected isExcepted(stats?: CountIssuesBySeverity): boolean {
return !!stats.number;
return !!stats?.number;
}
}

0 comments on commit 4e6dfd5

Please sign in to comment.