fix: don't include filename in path
when calling readdir
with withFileTypes: true
#378
Annotations
1 error
commitlint
You have commit messages with errors
⧗ input: fix: readdir withFileType path bug
src/dirent.path is only the path of the parent dir and dirent.name is either the filename+extension or the directory name. This is now reflected in readdir. Because readdir constructs the filenames from the readdir we join(path,name)
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|