Skip to content

Commit 294e208

Browse files
authored
feat: fix Filter no category (ramda#277)
1 parent a74f895 commit 294e208

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

publish.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const {
1515
propEq,
1616
replace,
1717
split,
18+
__
1819
} = require('ramda');
1920

2021
const handlebars = require('handlebars');
@@ -45,7 +46,7 @@ const prettifySig = pipe(
4546
// Handles any combination of comma-separated and multi-line @see annotations.
4647
const simplifySee = pipe(chain(split(/\s*,\s*/)), map(replace(/^R[.]/, '')))
4748

48-
const titleFilter = pipe(propEq('title'), filter)
49+
const titleFilter = pipe(propEq(__, 'title'), filter)
4950

5051
const valueProp = chain(prop('value'))
5152

0 commit comments

Comments
 (0)