From 6fb7bcad8705cbc53cd1fc8bcfa38e6ca7057138 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Sat, 20 Sep 2025 15:55:39 +0000 Subject: [PATCH] Fix glob paths in manual_lint.js --- .github/manual_lint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/manual_lint.js b/.github/manual_lint.js index 78e24233..b6dd177c 100644 --- a/.github/manual_lint.js +++ b/.github/manual_lint.js @@ -5,8 +5,8 @@ const path = require('path'); const MAX_FILE_SIZE = 1024 * 1024; // 1MB // glob 模式,定位菜谱 Markdown 文件和所有文件 -const DISHES_GLOB = path.resolve(__dirname, '../../dishes/**/*.md'); -const ALL_FILES_GLOB = path.resolve(__dirname, '../../dishes/**/*'); +const DISHES_GLOB = path.resolve(__dirname, '../dishes/**/*.md'); +const ALL_FILES_GLOB = path.resolve(__dirname, '../dishes/**/*'); // 工具函数:获取文件状态,包括大小 async function getFileStats(filePath) {