diff --git a/shared.js b/shared.js index f800faa..e3c21c4 100644 --- a/shared.js +++ b/shared.js @@ -146,7 +146,7 @@ const optional = ['autocomplete', 'modalSubmit']; /** * Recursively scans a directory for all files in it. * @param {string} dir - * @returns {Array} Array of paths to the files within. + * @returns {Promise>} Array of paths to the files within. */ export const getFiles = async (dir) => { const dirents = await readdir(dir, { withFileTypes: true });