diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-27 23:33:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-27 23:33:11 +0800 |
commit | 4424943ffcb276102e68646d306cdcdcab8d2f71 (patch) | |
tree | 00186227f44b91066e0485323bf28b3542ecd51e /http_handle_repo_tree.go | |
parent | Lint (diff) | |
download | forge-4424943ffcb276102e68646d306cdcdcab8d2f71.tar.gz forge-4424943ffcb276102e68646d306cdcdcab8d2f71.tar.zst forge-4424943ffcb276102e68646d306cdcdcab8d2f71.zip |
Lint and add CI
Diffstat (limited to 'http_handle_repo_tree.go')
-rw-r--r-- | http_handle_repo_tree.go | 2 |
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 |