mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 22:13:16 +00:00
Removing unnecessary console.log in struct/funcs/searchStation.js
This commit is contained in:
parent
3ae50a1543
commit
75a26dc456
@ -25,7 +25,6 @@ module.exports = function (key, client) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let highestProbabilityStation;
|
let highestProbabilityStation;
|
||||||
console.log('Stations found: ', foundStations);
|
|
||||||
for (let i = 0; i < foundStations.length; i++) {
|
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) highestProbabilityStation = foundStations[i];
|
||||||
if (highestProbabilityStation && highestProbabilityStation.probability === foundStations[i].probability) {
|
if (highestProbabilityStation && highestProbabilityStation.probability === foundStations[i].probability) {
|
||||||
|
Loading…
Reference in New Issue
Block a user