Browse Source

jsdoc: get_latest_version from NPM

Simon Legner 4 năm trước cách đây
mục cha
commit
adb2d8bf17
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/docs/scrapers/jsdoc.rb

+ 1 - 1
lib/docs/scrapers/jsdoc.rb

@@ -23,7 +23,7 @@ module Docs
     HTML
 
     def get_latest_version(opts)
-      get_latest_github_release('jsdoc', 'jsdoc', opts)
+      get_npm_version('jsdoc', opts)
     end
   end
 end