mirror of
https://github.com/Microsoft/vscode
synced 2024-08-25 03:56:03 +00:00
fix: trim end of matched link (#209469)
This commit is contained in:
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue