diff --git a/gh-badge.js b/gh-badge.js index 1c90987..7b64db5 100755 --- a/gh-badge.js +++ b/gh-badge.js @@ -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) {