In the tldr repo, we accidentally merged a PR with the wrong file structure.
This led tldr-translations-pairs-gen to crash. To avoid this from happening again, I added a verifyIntegrity function where can perform any checks on the file and make sure we're happy to process it. Currently, it just checks if it's a directory that logs a warning and skips it if so.
In the tldr repo, we accidentally merged a PR with the wrong file structure.
This led tldr-translations-pairs-gen to crash. To avoid this from happening again, I added a
verifyIntegrity
function where can perform any checks on the file and make sure we're happy to process it. Currently, it just checks if it's a directory that logs a warning and skips it if so.Related