summaryrefslogtreecommitdiffstats
path: root/modules/analyze
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-04-15 20:40:39 +0300
committerGitHub <noreply@github.com>2020-04-15 20:40:39 +0300
commit4dc62dadce42edfaa74d2e21164afa1693db0dd8 (patch)
treefd7d0040950920b3ddcd5aad7e903f759579f138 /modules/analyze
parent7a67bcc2048d54eb5a9ae9fbc82170f74071e92c (diff)
downloadgitea-4dc62dadce42edfaa74d2e21164afa1693db0dd8.tar.gz
gitea-4dc62dadce42edfaa74d2e21164afa1693db0dd8.zip
Migrate to go-enry new version (#10906)
Diffstat (limited to 'modules/analyze')
-rw-r--r--modules/analyze/code_langauge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/analyze/code_langauge.go b/modules/analyze/code_langauge.go
index f7dd3e7cfc..3bd2d512f9 100644
--- a/modules/analyze/code_langauge.go
+++ b/modules/analyze/code_langauge.go
@@ -7,7 +7,7 @@ package analyze
import (
"path/filepath"
- "github.com/src-d/enry/v2"
+ "github.com/go-enry/go-enry/v2"
)
// GetCodeLanguageWithCallback detects code language based on file name and content using callback