fix: trim end of matched link (#209469)

This commit is contained in:
Raymond Zhao
2024-04-03 11:25:21 -07:00
committed by GitHub
parent 9efebbe2e4
commit fb7f833668
@@ -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;
}