puppeteer: get_npm_version

pull/1824/head
Simon Legner 2 years ago
parent 5d7e8b95d2
commit 02444cfacb

@ -16,8 +16,7 @@ module Docs
HTML
def get_latest_version(opts)
contents = get_github_file_contents('GoogleChrome', 'puppeteer', 'README.md', opts)
contents.scan(/\/v([0-9.]+)\/docs\/api\.md/)[0][0]
get_npm_version('puppeteer', opts)
end
end
end

Loading…
Cancel
Save