From dfe87fadd86b584cc2846467afd9f540d28dce37 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 29 Mar 2025 22:27:54 +0800 Subject: Properly format files... --- git_hooks_handle_other.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'git_hooks_handle_other.go') diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go index 8bd1f7a..d4ee43a 100644 --- a/git_hooks_handle_other.go +++ b/git_hooks_handle_other.go @@ -24,9 +24,7 @@ import ( "go.lindenii.runxiyu.org/lindenii-common/clog" ) -var ( - errGetFD = errors.New("unable to get file descriptor") -) +var errGetFD = errors.New("unable to get file descriptor") // hooksHandler handles a connection from hookc via the // unix socket. -- cgit v1.2.3