diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:08:21 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:08:21 +0100 |
commit | 0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0 (patch) | |
tree | 7ec5e31249bca75a1a288c7b6ac2e4d2a10a1f79 /vendor/github.com | |
parent | 80eea77953ab5f1f12e1a01f1930b72c360a5c76 (diff) | |
download | gitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.tar.gz gitea-0b62aeb495c9c1daf816a754a0e4abbf8c62c2c0.zip |
More MixedCase consts
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/go-gitea/git/hook.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/go-gitea/git/hook.go b/vendor/github.com/go-gitea/git/hook.go index 20da99392a..086bf7126d 100644 --- a/vendor/github.com/go-gitea/git/hook.go +++ b/vendor/github.com/go-gitea/git/hook.go @@ -102,13 +102,13 @@ func ListHooks(repoPath string) (_ []*Hook, err error) { } const ( - HOOK_PATH_UPDATE = "hooks/update" + HookPathUpdate = "hooks/update" ) // SetUpdateHook writes given content to update hook of the reposiotry. func SetUpdateHook(repoPath, content string) (err error) { log("Setting update hook: %s", repoPath) - hookPath := path.Join(repoPath, HOOK_PATH_UPDATE) + hookPath := path.Join(repoPath, HookPathUpdate) if com.IsExist(hookPath) { err = os.Remove(hookPath) } else { |