We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed1497e commit ca06719Copy full SHA for ca06719
src/commands/fix/git.ts
@@ -12,7 +12,7 @@ const { GITHUB_REF_NAME } = constants
12
13
function formatBranchName(str: string): string {
14
return str
15
- .replace(/[\\/-_.]+/g, '-')
+ .replace(/[-_.\\/]+/g, '-')
16
.replace(/[^-a-zA-Z0-9]+/g, '')
17
.replace(/^-+|-+$/g, '')
18
}
0 commit comments