chore: fix scripts issue.

This commit is contained in:
jaywcjlove 2022-11-21 23:03:32 +08:00
parent 12ca14cee9
commit f66f93f97e

View File

@ -76,7 +76,7 @@ export async function run() {
await copyCSSFile(); await copyCSSFile();
await copyJSFile(); await copyJSFile();
const files = await recursiveReaddirFiles(process.cwd(), { const files = await recursiveReaddirFiles(process.cwd(), {
ignored: /\/(node_modules|\.git)/, ignored: /[\\/](node_modules|\.git)/g,
exclude: /(\.json|\.mjs|CONTRIBUTING\.md)$/, exclude: /(\.json|\.mjs|CONTRIBUTING\.md)$/,
filter: (item) => item.ext === 'md', filter: (item) => item.ext === 'md',
}); });