mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-05 21:07:16 +01:00
fix: trim end of matched link (#209469)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user