0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

Add missing @return on search.js

This commit is contained in:
Juan Picado 2017-04-27 03:59:11 +02:00
parent 318634f072
commit 09c60e68e0
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -24,6 +24,7 @@ class Search {
* If the keyword is a * it returns all local elements
* otherwise performs a search
* @param {*} q the keyword
* @return {Array} list of results.
*/
query(q) {
return q === '*'