Compare commits
No commits in common. "main" and "20240712_103406" have entirely different histories.
main
...
20240712_1
1973
pis/gw.yaml
1973
pis/gw.yaml
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,6 @@ 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`;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -50,9 +49,8 @@ function sortAndMergeYAMLFiles() {
|
|||||||
console.error("Error writing gw.pis", err)
|
console.error("Error writing gw.pis", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove any files created by dgp2
|
|
||||||
files.forEach(file => {
|
files.forEach(file => {
|
||||||
if (file.startsWith('auto-dgp2')) {
|
if (file.startsWith('dg_parser')) {
|
||||||
fs.unlinkSync(directoryPath + file);
|
fs.unlinkSync(directoryPath + file);
|
||||||
console.log(`Deleted file: ${file}`);
|
console.log(`Deleted file: ${file}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user