We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc345b7e commit54dfedaCopy full SHA for 54dfeda
src/utils/validateCommits.ts
@@ -13,8 +13,8 @@ export function validateCommitOrder(positions: string[]): boolean {
13
current={level:0,step:0};
14
return;
15
}else{
16
-constlevelMatch=position.match(/^L([0-9])+$/);
17
-conststepMatch=position.match(/^L([0-9])+S([0-9])+$/);
+constlevelMatch=position.match(/^L([0-9]+)Q?$/);
+conststepMatch=position.match(/^L([0-9]+)S([0-9]+)[Q|A]?$/);
18
if(levelMatch){
19
// allows next level or step
20
const[_,levelString]=levelMatch;
@@ -28,7 +28,7 @@ export function validateCommitOrder(positions: string[]): boolean {
28
current={ level, step};
29
30
// error
31
-console.error(`Invalid commit position:${position}`);
+console.warn(`Invalid commit position:${position}`);
32
33
}
34
if(