kopia lustrzana https://github.com/badgen/badgen.net
fix: make sem-color recognize "RC"
rodzic
9625e9680c
commit
ab5da1be5a
|
@ -11,7 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = function vc (version) {
|
module.exports = function vc (version) {
|
||||||
if (version.match(/\b(alpha|beta|canary)/)) {
|
if (version.match(/\b(alpha|beta|canary|rc)/i)) {
|
||||||
return 'cyan'
|
return 'cyan'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue