cli: Omit needless function.
This commit is contained in:
parent
5e2a7d478e
commit
dc1ceaa2ef
|
@ -23,8 +23,6 @@ var colorA = process.argv[5];
|
|||
|
||||
var badgeData = {text: [subject, status]};
|
||||
|
||||
function sixHex(s) { return /^[0-9a-fA-F]{6}$/.test(s); }
|
||||
|
||||
if (color[0] === ':') {
|
||||
color = color.slice(1);
|
||||
if (colorscheme[color] == null) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user