diff --git a/commit-v.js b/commit-v.js index 5cafc293c..4f201da6e 100644 --- a/commit-v.js +++ b/commit-v.js @@ -7,6 +7,6 @@ if (commitMessage) { const isPatch = /^(fix|chore)/.test(commitMessage); // Например, если тип "fix" или "chore" if (isPatch) { - execSync('npm version patch', { stdio: 'inherit' }); + execSync('cd src/front && npm version patch', { stdio: 'inherit' }); } }