Addresses assumption about the directory structure

#10
by meg HF staff - opened

The code appears to assume a certain directory structure, where only files (not another directory) will be found.
Suggesting adding a check so that only files will be retrieved.
I would do this function differently, but here is a minimal edit to keep the code as-is as much as possible.
Let me know if you'd prefer a larger suggestion on editing.

meg changed pull request status to closed

Sign up or log in to comment