ahbeng/NUSMods

View on GitHub
website/scripts/download-bus-stops.js

Summary

Maintainability
A
1 hr
Test Coverage

Function downloadBusStops has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function downloadBusStops() {
  const busStopResponse = await axios.get(getBusStop);
  const data = busStopResponse.data.BusStopsResult.busstops;

  // Map bus stops to the correct shape
Severity: Minor
Found in website/scripts/download-bus-stops.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status