website/scripts/download-bus-stops.js
Function downloadBusStops
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function downloadBusStops() {
const busStopResponse = await axios.get(getBusStop);
const data = busStopResponse.data.BusStopsResult.busstops;
// Map bus stops to the correct shape