Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls badge is detected incorrectly #238

Open
mlms13 opened this issue May 30, 2019 · 0 comments
Open

Coveralls badge is detected incorrectly #238

mlms13 opened this issue May 30, 2019 · 0 comments

Comments

@mlms13
Copy link

mlms13 commented May 30, 2019

Given the following markdown in the README:

[![test coverage](https://img.shields.io/coveralls/github/mlms13/bs-decode.svg?style=flat-square)](https://coveralls.io/github/mlms13/bs-decode)

npms is producing the following metadata for the badge:

{
  "urls": {
    "original": "https://img.shields.io/coveralls/github/mlms13/bs-decode.svg?style=flat-square",
    "service": "https://coveralls.io/repos/github/mlms13/badge.svg?branch=bs-decode",
    "shields": "https://img.shields.io/coveralls/github/mlms13/bs-decode.svg",
    "content": "https://img.shields.io/coveralls/github/mlms13/bs-decode.json"
  },
  "info": {
    "service": "coveralls",
    "type": "coverage",
    "modifiers": {
      "branch": "bs-decode"
    }
  }
}

Note that it's detecting the branch as bs-decode, which isn't a real branch, and it's producing an incorrect service URL as a result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant