Skip to content

Commit aef9148

Browse files
authored
Merge branch 'di-sukharev:master' into feat/pre-commit
2 parents dc4a332 + cd5198a commit aef9148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/commitlint/pwd-commitlint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import path from 'path';
44
const findModulePath = (moduleName: string) => {
55
const searchPaths = [
66
path.join('node_modules', moduleName),
7-
path.join('node_modules', '.pnpm')
7+
path.join('node_modules', '.pnpm'),
8+
path.resolve(__dirname, '../..')
89
];
910

1011
for (const basePath of searchPaths) {

0 commit comments

Comments
 (0)