Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
landonreed opened this issue Sep 23, 2019 · 1 comment · Fixed by #487
Closed

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

landonreed opened this issue Sep 23, 2019 · 1 comment · Fixed by #487

Comments

@landonreed
Copy link
Contributor

landonreed commented Sep 23, 2019

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.

@landonreed
Copy link
Contributor Author

🎉 This issue has been resolved in version 4.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant