We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d70197 commit 625c95dCopy full SHA for 625c95d
src/commitizen/adapter.js
@@ -131,7 +131,7 @@ function resolveAdapterPath(inboundAdapterPath) {
131
132
// Resolve from process.cwd() if inboundAdapterPath is a path
133
let absoluteAdapterPath = isPath ?
134
- path.resolve(process.cwd(), inboundAdapterPath) :
+ path.resolve(getNearestProjectRootDirectory(), inboundAdapterPath) :
135
inboundAdapterPath;
136
137
try {
0 commit comments