diff options
author | isaacs <i@izs.me> | 2011-10-26 12:44:53 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-10-26 12:44:53 +0400 |
commit | 63bca8aa2c2e434633f1bb570e9b2026987d0ac6 (patch) | |
tree | 019896a543a94077fe488102cd8f03c9f1b7dad7 /lib | |
parent | 033a839f7ed2d876ea1b069526870d2d28316576 (diff) |
Close #1605 Don't process bad data from search result
Diffstat (limited to 'lib')
-rw-r--r-- | lib/search.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/search.js b/lib/search.js index da0e06f0d..45e436a0c 100644 --- a/lib/search.js +++ b/lib/search.js @@ -136,6 +136,8 @@ function prettify (data, args) { lines = Object.keys(data).map(function (d) { return data[d] + }).filter(function (data) { + return data.name }).map(function (data) { // turn a pkg data into a string // [name,who,desc,targets,keywords] tuple |