Skip to content

Commit 6375542

Browse files
Fix missing return
1 parent bea9ac7 commit 6375542

File tree

1 file changed

+1
-1
lines changed
  • packages/gatsby-source-npm-package-search/src

1 file changed

+1
-1
lines changed

packages/gatsby-source-npm-package-search/src/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const searchIndex = client.initIndex(`npm-search`)
55
exports.browse = ({ ...params }) => {
66
let hits = []
77

8-
searchIndex
8+
return searchIndex
99
.browseObjects({
1010
batch: batch => (hits = hits.concat(batch)),
1111
...params,

0 commit comments

Comments
 (0)