diff --git a/lib/github.js b/lib/github.js index c61c223..e95864a 100644 --- a/lib/github.js +++ b/lib/github.js @@ -6,7 +6,7 @@ module.exports = function( Release ) { Release.define({ _githubApiPath: function( path ) { var repoUrl = Release._packageUrl( "bugs" ); - var repo = repoUrl.match( /github\.com\/(\w+\/\w+)/ )[ 1 ]; + var repo = repoUrl.match( /github\.com\/([^/]+\/[^/]+)/ )[ 1 ]; return "/repos/" + repo + "/" + path; },