(stem)
| 17 | } |
| 18 | |
| 19 | function parseLabel(stem) { |
| 20 | return stem |
| 21 | .split("-") |
| 22 | .map((word) => word === word.toUpperCase() ? word : word.charAt(0).toUpperCase() + word.slice(1)) |
| 23 | .join(" "); |
| 24 | } |
| 25 | |
| 26 | async function main() { |
| 27 | let settingsContent = await fs.promises.readFile(settingsDataPath, "utf8"); |