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_raw.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_raw.go')
-rw-r--r-- | http_handle_repo_raw.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go index 36e59d7..aab64b6 100644 --- a/http_handle_repo_raw.go +++ b/http_handle_repo_raw.go @@ -33,7 +33,7 @@ func httpHandleRepoRaw(writer http.ResponseWriter, request *http.Request, params } 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 |