diff options
Diffstat (limited to 'git_hooks_handle_other.go')
-rw-r--r-- | git_hooks_handle_other.go | 4 |
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. |