yarn: fix get_latest_version

pull/1667/head
Simon Legner 3 years ago
parent c5dbdbd1cf
commit e16232728e

@ -36,7 +36,7 @@ module Docs
end
def get_latest_version(opts)
get_latest_github_release('yarnpkg', 'berry', opts)
get_latest_github_release('yarnpkg', 'berry', opts)[/[\d.]+/]
end
end
end

Loading…
Cancel
Save