mirror of
https://github.com/Gar-b-age/CookLikeHOC.git
synced 2026-03-22 12:57:16 +08:00
@@ -2,7 +2,7 @@ import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
const DOC_EXT = ['.md']
|
||||
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs'])
|
||||
const EXCLUDED_DIRS = new Set(['.git', '.github', '.vitepress', 'node_modules', 'public', 'docs', 'images', 'docker_support'])
|
||||
|
||||
function isDirectory(p) {
|
||||
return fs.existsSync(p) && fs.statSync(p).isDirectory()
|
||||
|
||||
@@ -11,6 +11,9 @@ const EXCLUDED_DIRS = new Set([
|
||||
'.vitepress',
|
||||
'node_modules',
|
||||
'public',
|
||||
'docs',
|
||||
'images',
|
||||
'docker_support',
|
||||
])
|
||||
|
||||
function isDirectory(p: string) {
|
||||
|
||||
Reference in New Issue
Block a user