History

Fix get_latest_version of Jest

Enoc committed 5 years ago

Commit 51c11301 parent 5f8b24f1 file · +2 −2Browse files

Unified · Split

lib/docs/scrapers/jest.rb+2−2
@@ -19,8 +19,8 @@ module Docs · 18 unmodified lines
1919 HTML
2020
2121 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)
2423 end
24+
2525 end
2626 end