Explorar o código

Fix get_latest_version of Jest

Enoc %!s(int64=4) %!d(string=hai) anos
pai
achega
51c11307b2
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/docs/scrapers/jest.rb

+ 2 - 2
lib/docs/scrapers/jest.rb

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