We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccbaa38 commit 2bfcde9Copy full SHA for 2bfcde9
1 file changed
yarn.config.cjs
@@ -51,7 +51,7 @@ function checkBranchPrefix() {
51
encoding: 'utf8'
52
}).trim();
53
54
- const hasValidPrefix = getBranchPrefixes().some(prefix => currentBranch.startsWith(prefix)) || currentBranch === 'release';
+ const hasValidPrefix = getBranchPrefixes().some(prefix => currentBranch.startsWith(prefix)) || currentBranch.startsWith('release');
55
56
if (!hasValidPrefix) {
57
logError(`Branch "${currentBranch}" does not start with a valid prefix.`);
0 commit comments