timedata: whitespace.
This commit is contained in:
parent
7db5fd1537
commit
5c7c66332f
@ -69,17 +69,20 @@ TimeData.prototype.add = function add(id, time) {
|
||||
if (Math.abs(median) >= 70 * 60) {
|
||||
if (!this.checked) {
|
||||
let match = false;
|
||||
|
||||
for (const offset of this.samples) {
|
||||
if (offset !== 0 && Math.abs(offset) < 5 * 60) {
|
||||
match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!match) {
|
||||
this.checked = true;
|
||||
this.emit('mismatch');
|
||||
}
|
||||
}
|
||||
|
||||
median = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user