Merge pull request #454 from jcppkkk/master

feat(commitlint): add additional search path for @commitlint
This commit is contained in:
GPT8
2025-03-17 11:40:01 +03:00
committed by GitHub
+2 -1
View File
@@ -4,7 +4,8 @@ import path from 'path';
const findModulePath = (moduleName: string) => {
const searchPaths = [
path.join('node_modules', moduleName),
path.join('node_modules', '.pnpm')
path.join('node_modules', '.pnpm'),
path.resolve(__dirname, '../..')
];
for (const basePath of searchPaths) {