Skip to content

Commit 6fb7bca

Browse files
authored
Fix glob paths in manual_lint.js
1 parent 547b2dc commit 6fb7bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/manual_lint.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const path = require('path');
55

66
const MAX_FILE_SIZE = 1024 * 1024; // 1MB
77
// glob 模式,定位菜谱 Markdown 文件和所有文件
8-
const DISHES_GLOB = path.resolve(__dirname, '../../dishes/**/*.md');
9-
const ALL_FILES_GLOB = path.resolve(__dirname, '../../dishes/**/*');
8+
const DISHES_GLOB = path.resolve(__dirname, '../dishes/**/*.md');
9+
const ALL_FILES_GLOB = path.resolve(__dirname, '../dishes/**/*');
1010

1111
// 工具函数:获取文件状态,包括大小
1212
async function getFileStats(filePath) {

0 commit comments

Comments
 (0)