Skip to content

Commit

Permalink
fix(desktop): remove trailing slash before appending branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Jun 12, 2024
1 parent 4e87d5b commit cf63e55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ function appendGitSetting(

function pruneGitSettings(value: string): string {
return value
.replace(/\/$/, "")
.replace(BRANCH_REGEX, "$1")
.replace(COMMIT_REGEX, "$1")
.replace(PR_REGEX, "$1")
Expand Down

0 comments on commit cf63e55

Please sign in to comment.