Using the right matched param

This commit is contained in:
Corey Frang 2012-11-24 18:04:34 -06:00
parent 5c62ac80f0
commit c27dc018e2

View File

@ -135,7 +135,7 @@ module.exports = function( grunt ) {
if ( pull ) {
jobName = "jQuery Pull Request <a href='https://github.com/jquery/jquery/pull/" +
pull[ 2 ] + "'>#" + pull[ 2 ] + "</a>";
pull[ 1 ] + "'>#" + pull[ 1 ] + "</a>";
} else {
jobName = "jQuery commit #<a href='https://github.com/jquery/jquery/commit/" +
commit + "'>" + commit.substr( 0, 10 ) + "</a>";