Skip to content

GTFS+ module does not work with server-provided config #486

@landonreed

Description

@landonreed

Due to the changes in #469, the GTFS+ yml file is not being loaded properly when the config initializes:

if (config.modules.gtfsplus && config.modules.gtfsplus.enabled) {
// $FlowFixMe - assume file exists and make flow happy
const gtfsplus = require('../../../gtfsplus.yml')
config.specifications.gtfsplus = gtfsplus
}

Instead of checking for the module enabled flag, we should just load the yml file regardless.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions