We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73b2389 commit 929edbcCopy full SHA for 929edbc
1 file changed
commitlint.config.js
@@ -5,7 +5,7 @@ const normalizeWorkspace = async x => {
5
const ents = await readdir(fileURLToPath(new URL(x, import.meta.url)), { withFileTypes: true });
6
return ents
7
.filter(ent => ent.isDirectory())
8
- .map(ent => ent.name.replace('pf-', ''));
+ .map(ent => ent.name.replace(/^pf-(?:v\d+-)?/, ''));
9
};
10
11
0 commit comments