Skip to content

Commit

Permalink
fix: trim end of matched link (#209469)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 authored Apr 3, 2024
1 parent 9efebbe commit fb7f833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export function gitCreatePr(): ITerminalQuickFixInternalOptions {
},
commandExitResult: 'success',
getQuickFixes: (matchResult: ITerminalCommandMatchResult) => {
const link = matchResult?.outputMatch?.regexMatch?.groups?.link;
const link = matchResult?.outputMatch?.regexMatch?.groups?.link?.trimEnd();
if (!link) {
return;
}
Expand Down

0 comments on commit fb7f833

Please sign in to comment.