badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
7 lines (6 loc) • 595 B
JavaScript
// This file was auto-generated. Do not modify it by hand and instead modify the scraper or code generator files.
import { urlWithOptions } from "../../options";
/** Label for Sonar Coverage (/sonar/coverage/:component?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2) */
export const label = `Sonar Coverage`;
/** URL for Sonar Coverage (/sonar/coverage/:component?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2) */
export const url = (component, options) => urlWithOptions(`/sonar/coverage/${component}?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2`, options);