Fix eslint lint error

This commit is contained in:
Eli Kogan-Wang 2025-03-20 16:45:34 +01:00
parent 892760b3f9
commit 687444e547
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const paths = {
// calling the callback for all normal files found.
const walkDir = async (basePath, cb, filter) => {
const files = await fs.promises.readdir(basePath);
const paths = files.map((filename) => path.join(basePath, filename));
const paths = files.map(filename => path.join(basePath, filename));
return Promise.all(
paths.map(async (filepath) => {
const stats = await fs.promises.lstat(filepath);