Fix get_latest_version of Jest

pull/1503/head
Enoc 4 years ago
parent 5f8b24ff2d
commit 51c11307b2

@ -19,8 +19,8 @@ module Docs
HTML HTML
def get_latest_version(opts) def get_latest_version(opts)
doc = fetch_doc('https://jestjs.io/docs/en/getting-started', opts) doc = get_latest_github_release('facebook', 'jest', opts)
doc.at_css('header > a > h3').content
end end
end end
end end

Loading…
Cancel
Save