We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bccf30c commit 5ad1b38Copy full SHA for 5ad1b38
components/git/metadata.js
@@ -63,6 +63,9 @@ const PR_RE = new RegExp(
63
'([0-9]+)(?:/(?:files)?)?$');
64
65
function handler(argv) {
66
+ // remove hashes from PR link
67
+ argv.identifier = argv.identifier.replace(/#.*$/, '');
68
+
69
const parsed = {};
70
const prid = Number.parseInt(argv.identifier);
71
if (!Number.isNaN(prid)) {
0 commit comments