chore [P-137]: test
This commit is contained in:
1 parent
adbce6c5a7
commit
476a4679b0
1 file changed
+1
-1
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { execSync } from 'child_process';
|
||||
|
||||
const commitMessage = process.argv[2];
|
||||
console.log('commitMessage');
|
||||
console.log(process.argv);
|
||||
if (commitMessage) {
|
||||
// Проверяем, содержит ли сообщение коммита определенные ключевые слова
|
||||
const isPatch = /^(fix|chore)/.test(commitMessage); // Например, если тип "fix" или "chore"
|
||||
|
||||
Reference in new issue
Block a user