async function getGitHubReleases()

in index.js [67:71]


async function getGitHubReleases(pkg) {
  const [owner, repo] = pkg.repo.split('/')
  return await github.repos.listReleases({owner, repo})
    .then(res => res.data)
}