From 4424943ffcb276102e68646d306cdcdcab8d2f71 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 27 Mar 2025 23:33:11 +0800 Subject: Lint and add CI --- http_handle_repo_raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_handle_repo_raw.go') 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 -- cgit v1.2.3