Removing unnecessary console.log in struct/funcs/searchStation.js

This commit is contained in:
Christer Warén 2020-03-09 13:43:26 +02:00
parent 3ae50a1543
commit 75a26dc456

View File

@ -25,7 +25,6 @@ module.exports = function (key, client) {
}
}
let highestProbabilityStation;
console.log('Stations found: ', foundStations);
for (let i = 0; i < foundStations.length; i++) {
if (!highestProbabilityStation || highestProbabilityStation.probability < foundStations[i].probability) highestProbabilityStation = foundStations[i];
if (highestProbabilityStation && highestProbabilityStation.probability === foundStations[i].probability) {