kopia lustrzana https://github.com/badgen/badgen.net
Update chrome-web-store version badge
rodzic
373da48397
commit
1a1064f25d
|
@ -22,8 +22,8 @@ module.exports = async function (method, ...args) {
|
||||||
case 'v':
|
case 'v':
|
||||||
return {
|
return {
|
||||||
subject: 'chrome web store',
|
subject: 'chrome web store',
|
||||||
status: meta.version,
|
status: 'v' + meta.version,
|
||||||
color: 'blue'
|
color: meta.version[0] === '0' ? 'orange' : 'blue'
|
||||||
}
|
}
|
||||||
case 'users':
|
case 'users':
|
||||||
return {
|
return {
|
||||||
|
@ -57,7 +57,7 @@ module.exports = async function (method, ...args) {
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return {
|
return {
|
||||||
subject: 'chrome',
|
subject: 'chrome web store',
|
||||||
status: 'unknown',
|
status: 'unknown',
|
||||||
color: 'grey'
|
color: 'grey'
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue