aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_handle_other.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-29 22:27:54 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-29 22:27:54 +0800
commitdfe87fadd86b584cc2846467afd9f540d28dce37 (patch)
treee2156f6714f26b8d956dc5a07f159f12a2fd431e /git_hooks_handle_other.go
parentFix CI (diff)
downloadforge-dfe87fadd86b584cc2846467afd9f540d28dce37.tar.gz
forge-dfe87fadd86b584cc2846467afd9f540d28dce37.tar.zst
forge-dfe87fadd86b584cc2846467afd9f540d28dce37.zip
Properly format files...v0.1.4
Diffstat (limited to '')
-rw-r--r--git_hooks_handle_other.go4
1 files changed, 1 insertions, 3 deletions
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.