Skip to content

Commit 24b1d8f

Browse files
committedJun 20, 2024
fix: convert release-branch regex to RegExp object
1 parent 65cdd63 commit 24b1d8f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎dist/bump/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/cli/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/validate/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export class Configuration {
307307
* release-branches: "^release/.*\d+\.\d+.*$"
308308
*/
309309
if (typeof data[key] === "string") {
310-
this.releaseBranches = data[key];
310+
this.releaseBranches = new RegExp(data[key]);
311311
} else {
312312
throw new Error(
313313
`Incorrect type '${typeof data[

0 commit comments

Comments
 (0)
Failed to load comments.