use event end_line for discarding events below starting threshold

This commit is contained in:
Jake McDermott 2018-05-22 13:58:24 -04:00
parent 89e08460dd
commit 9bbed9f14e
No known key found for this signature in database
GPG Key ID: 3B02CAD476EECB35

View File

@ -116,7 +116,7 @@ function JobEventEngine ($q) {
this.chain = this.chain
.then(() => {
if (!this.isActive()) {
if (data.start_line < (this.lines.min)) {
if (data.end_line < (this.lines.min)) {
return $q.resolve();
}
this.start();