mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Fix links to googlecode package homepages
This commit is contained in:
parent
2aa643204d
commit
50849b52d0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@
|
|||
} else if (recipe.url) {
|
||||
var urlMatch = function(re, prefix) {
|
||||
var m = recipe.url.match(re);
|
||||
return m !== null ? prefix + m[0] : null;
|
||||
return m !== null ? (prefix || '') + m[0] : null;
|
||||
};
|
||||
return (urlMatch(/(bitbucket\.org\/[^\/]+\/[^\/\?]+)/, "https://") ||
|
||||
urlMatch(/(gitorious\.org\/[^\/]+\/[^.]+)/, "https://") ||
|
||||
|
|
Loading…
Reference in a new issue