We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 040c60a + 0670bbd commit 9e368c1Copy full SHA for 9e368c1
plugin/pluginCore.js
@@ -56,7 +56,7 @@ const findHtmlFiles = async function (fileAndDirPath, directoryFilter) {
56
if (await isDirectory(fileAndDirPath)) {
57
const fileInfos = await readdirp.promise(fileAndDirPath, {
58
fileFilter: '*.html',
59
- directoryFilter
+ directoryFilter: !!directoryFilter.length ? directoryFilter : '*'
60
})
61
return fileInfos.map(({ fullPath }) => fullPath)
62
}
0 commit comments