Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better but worse regex

  • Loading branch information...
commit 8386952b0120a77e7150843c3f4c71786dae45f1 1 parent 50f3e28
@eirikb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  nipster.js
View
2  nipster.js
@@ -109,7 +109,7 @@ function serialize(all, callback) {
forks = a.github ? a.github.forks: '',
watchers = a.github ? a.github.watchers: '';
packages.packages.push([a.name, a.description, forks, watchers]);
- packages.urls.push(a.github.html_url.replace(/.*\//, ''));
+ packages.urls.push(a.github.html_url.replace(/.*\.com\//, ''));
});
Object.keys(all).filter(function(key) {
Please sign in to comment.
Something went wrong with that request. Please try again.