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