byt-commit-hooks
Version:
git commit hooks
14 lines • 358 B
JavaScript
/*
* @Description:
* @Author: 王国火
* @Date: 2025-06-23 15:50:53
* @LastEditTime: 2025-06-23 15:51:08
* @LastEditors: 王国火
*/
const { lintRoutePaths,getConfig } = require('../lib/index');
async function run() {
//先检查根目录下是否有配置文件
const config = await getConfig();
lintRoutePaths(config);
}
run();