git ssb

3+

cel / ssb-npm-registry



Commit 0374a6535efb8c7e92e121b47cd6096894245348

Fix name decoding

cel committed on 9/19/2017, 6:37:43 PM
Parent: 70dfdc2b78149168e01254249149ede9d7e59afe

Files changed

index.jschanged
index.jsView
@@ -180,9 +180,9 @@
180180 })
181181 }
182182
183183 function decodeName(name) {
184- var parts = name.replace(/\.tgz$/).split(':')
184+ var parts = name.replace(/\.tgz$/, '').split(':')
185185 return {
186186 name: parts[1],
187187 version: parts[2],
188188 distTag: parts[3],

Built with git-ssb-web