From f7f0e61ecdb55826cebe607a85c101cffd2d712c Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Sat, 19 Oct 2019 14:57:11 -0600 Subject: [PATCH] fixed bad return statement --- emojiMap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emojiMap.go b/emojiMap.go index 584e982..8b091fd 100644 --- a/emojiMap.go +++ b/emojiMap.go @@ -15,7 +15,7 @@ func renderUnicodeEmoji(data emojiData) (string, error) { emj, err := strconv.ParseInt(data.Unicode, 16, 32) if err != nil { // because not all of them are parseable (like keycaps \u0031-FE0F-20E3) - return nil, err + return "", err } else { return string(emj), err }