We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4bfe0 commit 7b568fbCopy full SHA for 7b568fb
src/commands/fix/git.ts
@@ -7,7 +7,7 @@ import constants from '../../constants'
7
const { GITHUB_REF_NAME } = constants
8
9
function formatBranchName(str: string): string {
10
- return str.replace(/[-_.]+/g, '-').replace(/[-a-zA-Z0-9]+/g, '') ?? ''
+ return str.replace(/[-_.]+/g, '-').replace(/[^-a-zA-Z0-9]+/g, '') ?? ''
11
}
12
13
function getPkgNameFromPurlObj(purlObj: PackageURL): string {
0 commit comments