Warn about CSV mismatches in filter-regs.js

This commit is contained in:
Oliver Jowett 2016-09-10 17:26:36 +01:00
parent 2f12447fda
commit f45430e3b5

View file

@ -27,6 +27,8 @@ var transformer = csv.transform(function (record, callback) {
var computed = reglookup(record.icao24);
if (computed === record.r) {
record.r = '';
} else if (computed !== null) {
console.warn(record.icao24 + " computed " + computed + " but CSV data had " + record.r);
}
}