kopia lustrzana https://github.com/badgen/badgen.net
badge(npm): always follow versionColor (#347)
rodzic
c098961ef0
commit
75a2cabbbf
|
@ -87,7 +87,7 @@ async function info (topic: string, pkg: string, tag = 'latest') {
|
|||
return {
|
||||
subject: tag === 'latest' ? 'npm' : `npm@${tag}`,
|
||||
status: version(meta.version),
|
||||
color: tag === 'latest' ? versionColor(meta.version) : 'blue'
|
||||
color: versionColor(meta.version)
|
||||
}
|
||||
}
|
||||
case 'license': {
|
||||
|
|
Ładowanie…
Reference in New Issue