toc-patching #61
@ -39,7 +39,7 @@ function sortAndMergeYAMLFiles() {
|
|||||||
if (item.stops.length > 0) {
|
if (item.stops.length > 0) {
|
||||||
outputString += ` - code: "${item.code}"\n`;
|
outputString += ` - code: "${item.code}"\n`;
|
||||||
outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`;
|
outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`;
|
||||||
outputString += ` toc: "gw"\n`;
|
outputString += ` toc: "${item.toc || "gw"}"\n`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user