Unified · Split
| @@ -19,8 +19,8 @@ module Docs · 18 unmodified lines | ||
| 19 | 19 | HTML |
| 20 | 20 | |
| 21 | 21 | def get_latest_version(opts) |
| 22 | − doc = fetch_doc('https://jestjs.io/docs/en/getting-started', opts) | |
| 23 | − doc.at_css('header > a > h3').content | |
| 22 | + doc = get_latest_github_release('facebook', 'jest', opts) | |
| 24 | 23 | end |
| 24 | + | |
| 25 | 25 | end |
| 26 | 26 | end |