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

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();