@transportme/load-ptv-gtfs 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,6 +142,7 @@ export default class StopsLoader {
|
|
|
142
142
|
*/
|
|
143
143
|
async loadStop(stop, { processStop, getMergeName } = {}) {
|
|
144
144
|
let processedData = processStop ? processStop(stop) : stop
|
|
145
|
+
if (!processedData) return
|
|
145
146
|
|
|
146
147
|
if (processedData.parentStopGTFSID) {
|
|
147
148
|
let parentStop = await this.findParentStop(processedData)
|