diff options
author | Cameron Moore <[email protected]> | 2020-12-30 14:19:40 -0600 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-12-30 22:46:19 +0100 |
commit | 1f7e9f733397b891cefc725ffc94ba901e70425a (patch) | |
tree | c27d95c30be7bd4f3b23abcfd3ff036ab688109d /helpers | |
parent | cea157402365f34a69882110a4208999728007a6 (diff) | |
download | hugo-1f7e9f733397b891cefc725ffc94ba901e70425a.tar.gz hugo-1f7e9f733397b891cefc725ffc94ba901e70425a.zip |
Update emoji import paths and version
Since emoji is v2, we must import it with the `/v2` suffix. Doing so
allows the Go tools to detect the latest release.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/emoji.go | 2 | ||||
-rw-r--r-- | helpers/emoji_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/helpers/emoji.go b/helpers/emoji.go index cda0e1616..eb47ff448 100644 --- a/helpers/emoji.go +++ b/helpers/emoji.go @@ -17,7 +17,7 @@ import ( "bytes" "sync" - "github.com/kyokomi/emoji" + "github.com/kyokomi/emoji/v2" ) var ( diff --git a/helpers/emoji_test.go b/helpers/emoji_test.go index e9d634ccc..6485bb5fe 100644 --- a/helpers/emoji_test.go +++ b/helpers/emoji_test.go @@ -19,7 +19,7 @@ import ( "testing" "github.com/gohugoio/hugo/bufferpool" - "github.com/kyokomi/emoji" + "github.com/kyokomi/emoji/v2" ) func TestEmojiCustom(t *testing.T) { |