Skip to content

Commit afe0915

Browse files
committed
Call getValue() correctly
1 parent da30009 commit afe0915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/metascraper-title/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ module.exports = () => ({
2020
),
2121
wrap($ => $('h1[class*="title"] a').text()),
2222
wrap($ => $('h1[class*="title"]').text()),
23-
wrap($ => $('title').getValue())
23+
wrap($ => getValue($, $('title')))
2424
]
2525
})

0 commit comments

Comments
 (0)