File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,13 @@ function shortname (url) {
30
30
}
31
31
32
32
function 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 } )` )
34
34
if ( c . fixes ) {
35
35
let label = shortname ( c . fixes )
36
36
if ( label ) {
37
37
console . log ( ` [${ label } ](${ c . fixes } )` )
38
38
} 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 } )` )
40
40
}
41
41
} else if ( c . prurl ) {
42
42
let label = shortname ( c . prurl )
@@ -55,8 +55,8 @@ function printCommit (c) {
55
55
. replace ( / ^ ( \s * [ ^ @ \s ] + @ \d + [ . ] \d + [ . ] \d + ) ( \s * \S ) / g, '$1:$2' )
56
56
. replace ( / \b ( [ ^ @ \s ] + @ \d + [ . ] \d + [ . ] \d + ) \b / g, '`$1`' )
57
57
// 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)' )
60
60
console . log ( msg )
61
61
if ( c . credit ) {
62
62
c . credit . forEach ( function ( credit ) {
You can’t perform that action at this time.
0 commit comments