File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ function shortname (url) {
3030}
3131
3232function printCommit ( c ) {
33- console . log ( `* [\`${ c . shortid } \`](https://github.com/npm/npm /commit/${ c . fullid } )` )
33+ console . log ( `* [\`${ c . shortid } \`](https://github.com/npm/cli /commit/${ c . fullid } )` )
3434 if ( c . fixes ) {
3535 let label = shortname ( c . fixes )
3636 if ( label ) {
3737 console . log ( ` [${ label } ](${ c . fixes } )` )
3838 } else {
39- console . log ( ` [#${ c . fixes } ](https://github.com/npm/npm/issues /${ c . fixes } )` )
39+ console . log ( ` [npm.community #${ c . fixes } ](https://npm.community/t /${ c . fixes } )` )
4040 }
4141 } else if ( c . prurl ) {
4242 let label = shortname ( c . prurl )
@@ -55,8 +55,8 @@ function printCommit (c) {
5555 . replace ( / ^ ( \s * [ ^ @ \s ] + @ \d + [ . ] \d + [ . ] \d + ) ( \s * \S ) / g, '$1:$2' )
5656 . replace ( / \b ( [ ^ @ \s ] + @ \d + [ . ] \d + [ . ] \d + ) \b / g, '`$1`' )
5757 // linkify commitids
58- . replace ( / \b ( [ a - f 0 - 9 ] { 7 , 8 } ) \b / g, '[`$1`](https://github.com/npm/npm /commit/$1)' )
59- . replace ( / \b # ( \d + ) \b / g, '[#$1](https://github.com/npm/npm/issues /$1)' )
58+ . replace ( / \b ( [ a - f 0 - 9 ] { 7 , 8 } ) \b / g, '[`$1`](https://github.com/npm/cli /commit/$1)' )
59+ . replace ( / \b # ( \d + ) \b / g, '[#$1](https://npm.community/t /$1)' )
6060 console . log ( msg )
6161 if ( c . credit ) {
6262 c . credit . forEach ( function ( credit ) {
You can’t perform that action at this time.
0 commit comments