Browse Source

Update badge label

Fix badge label for package badges.
master
TheoryOfNekomata 4 years ago
parent
commit
5d1f26cef6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getBadgeUrl.js

+ 1
- 1
getBadgeUrl.js View File

@@ -28,7 +28,7 @@ module.exports = async ({
badgeUrl.search = new URLSearchParams({ badgeUrl.search = new URLSearchParams({
color, color,
query: `$.${kind}`, query: `$.${kind}`,
label: repo,
label: kind,
style, style,
labelColor, labelColor,
url: new URL(path.join(repo, 'raw', 'branch', process.env.MAIN_BRANCH, 'package.json'), process.env.REPO_BASE_URL), url: new URL(path.join(repo, 'raw', 'branch', process.env.MAIN_BRANCH, 'package.json'), process.env.REPO_BASE_URL),


Loading…
Cancel
Save