From dc1ceaa2eff43e7aa6dc315fdeb6f7c7adfee23c Mon Sep 17 00:00:00 2001 From: Thaddee Tyl Date: Tue, 7 Jan 2014 21:44:41 +0100 Subject: [PATCH] cli: Omit needless function. --- gh-badge.js | 2 -- 1 file changed, 2 deletions(-) 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) {