mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 01:55:27 +00:00
gofmt
This commit is contained in:
parent
82189c27fe
commit
3141ccdaae
2 changed files with 10 additions and 10 deletions
|
@ -137,7 +137,7 @@ func (c *Client) CreateHook(owner string, name string, callBackLink string) erro
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
hooks := make([]string, 0)
|
hooks := make([]string, 0)
|
||||||
if (hookDetails.Enabled) {
|
if hookDetails.Enabled {
|
||||||
hookSettings, err := c.GetHooks(owner, name)
|
hookSettings, err := c.GetHooks(owner, name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue