aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_handle_repo_tree.go')
-rw-r--r--http_handle_repo_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go
index 7d95c02..1bb9940 100644
--- a/http_handle_repo_tree.go
+++ b/http_handle_repo_tree.go
@@ -39,7 +39,7 @@ func httpHandleRepoTree(writer http.ResponseWriter, request *http.Request, param
}
refHashSlice = refHash[:]
- cacheHandle := append(refHashSlice, []byte(pathSpec)...)
+ cacheHandle := append(refHashSlice, []byte(pathSpec)...) //nolint:gocritic
if value, found := treeReadmeCache.Get(cacheHandle); found {
params["files"] = value.DisplayTree