From ab5da1be5ad43536a37b53d8f23b5edfce460d8f Mon Sep 17 00:00:00 2001 From: Amio Date: Sun, 5 Aug 2018 13:22:54 +0800 Subject: [PATCH] fix: make sem-color recognize "RC" --- libs/utils/sem-color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/sem-color.js b/libs/utils/sem-color.js index b85f222..aaa069b 100644 --- a/libs/utils/sem-color.js +++ b/libs/utils/sem-color.js @@ -11,7 +11,7 @@ */ module.exports = function vc (version) { - if (version.match(/\b(alpha|beta|canary)/)) { + if (version.match(/\b(alpha|beta|canary|rc)/i)) { return 'cyan' }