Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
manifest: allow these for now
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Dec 5, 2016
1 parent 7db952c commit c32cd7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ function manifest (spec, opts, cb) {

rps(spec, function (err, res) {
if (err) { return cb(err) }
if (res.type === 'range' || res.type === 'directory') {
var e = new Error('spec type not supported')
e.type = res.type
e.code = 'EBADTYPE'
return cb(e)
}
// The registry module takes care of both of these.
var type = (res.type === 'tag' || res.type === 'version')
? 'registry'
Expand Down

0 comments on commit c32cd7c

Please sign in to comment.