mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
wildcarded searches now use asterisk, not tilda
This commit is contained in:
parent
71d5e5f150
commit
94f4cd2be1
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function Search() {
|
|||
}
|
||||
|
||||
Search.prototype.query = function(q) {
|
||||
return q === '~'
|
||||
return q === '*'
|
||||
? this.storage.config.localList.get().map( function( package ){ return { ref: package, score: 1 }; } )
|
||||
: this.index.search(q);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue