File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,14 +93,14 @@ const getPrBody = async ({ releases, closePrs }) => {
9393
9494 const { remark } = await import ( 'remark' )
9595 const { default : remarkGfm } = await import ( 'remark-gfm' )
96- const { default : remarkGithub } = await import ( 'remark-github' )
96+ const { default : remarkGithub , defaultBuildUrl } = await import ( 'remark-github' )
9797
9898 return remark ( )
9999 . use ( remarkGfm )
100100 . use ( remarkGithub , {
101101 repository : 'npm/cli' ,
102102 // dont link mentions, but anything else make the link an explicit referance to npm/cli
103- buildUrl : ( values , buildUrl ) => values . type === 'mention' ? false : buildUrl ( values ) ,
103+ buildUrl : ( values ) => values . type === 'mention' ? false : defaultBuildUrl ( values ) ,
104104 } )
105105 . process ( prBody )
106106 . then ( v => String ( v ) )
You can’t perform that action at this time.
0 commit comments